summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2010-08-16 14:51:31 +1200
committerBrenda Wallace <shiny@cpan.org>2010-08-16 14:51:31 +1200
commita50feb3d4700f2d2db8af4c89f28788eaaaa8b95 (patch)
treead279604d1fec50e0e7318b8b9d2feea2d71579a
parent9c97e33d35b4d98933cd0a574ecd704032d69b90 (diff)
parent640e7e7c43fa8e9b1a8516b486e560df84bd9887 (diff)
Merge remote branch 'shiny/0.9.x' into 0.9.x
-rw-r--r--db/08to09_pg.sql18
1 files changed, 18 insertions, 0 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql
index 498a94e68..d3eb64443 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -120,3 +120,21 @@ create table inbox (
);
+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)
+);
+
+create table inbox (
+
+ user_id integer not null /* comment 'user receiving the notice' */ references "user" (id),
+ notice_ids bytea /* comment 'packed list of notice ids' */,
+
+ primary key (user_id)
+
+);
+