summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2010-05-27 03:06:42 +0000
committerBrenda Wallace <shiny@cpan.org>2010-05-27 15:07:13 +1200
commitcc25ec175530a691686087db4c23a1a28ffd1b62 (patch)
treecf01df07c00a4735abe6cbf148c546931086dd74 /db
parent11398190f0614ec73ecdfefc9d29cbe3f7703323 (diff)
added the inbox table to postgres upgrade script
Diffstat (limited to 'db')
-rw-r--r--db/08to09_pg.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql
index de228c117..498a94e68 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -111,4 +111,12 @@ create table user_location_prefs (
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)
+
+);