diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-05-27 03:00:58 +0000 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-05-27 03:00:58 +0000 |
commit | eed0facc87781e25e59337f1371489742a945764 (patch) | |
tree | e490ad0a17bfd6dc40bb581a06c67354ee57eed5 | |
parent | bfef9184820fd1fc40d86c8e65c628c6ae88a691 (diff) |
added user_location_prefs to upgrade script
-rw-r--r-- | db/08to09_pg.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql index b7a0eb8e8..cc1edc5ec 100644 --- a/db/08to09_pg.sql +++ b/db/08to09_pg.sql @@ -101,3 +101,13 @@ alter table queue_item rename to queue_item_old; alter table queue_item_new rename to queue_item; +create table user_location_prefs ( + user_id integer not null /*comment 'user who has the preference'*/ references "user" (id), + share_location int default 1 /* comment 'Whether to share location data'*/, + created timestamp not null /*comment 'date this record was created'*/, + modified timestamp /* comment 'date this record was modified'*/, + + primary key (user_id) +); + + |