diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-05-27 03:00:58 +0000 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-05-27 15:02:01 +1200 |
commit | 11398190f0614ec73ecdfefc9d29cbe3f7703323 (patch) | |
tree | c364f2d872e7f4f784180dd1b248a97ea2a523a3 | |
parent | db603a39f8e521796293f694449c22679fc90caa (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 1c9a31699..de228c117 100644 --- a/db/08to09_pg.sql +++ b/db/08to09_pg.sql @@ -102,3 +102,13 @@ alter table queue_item_new rename to queue_item; ALTER TABLE confirm_address ALTER column sent set default CURRENT_TIMESTAMP; +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) +); + + |