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 03:06:42 +0000
commitaf4fd327429fcc01769b33ece458a77a37b2463f (patch)
treeec0e0678595fdfea4e082d4a9ed7a9801a7fce3d /db
parenteed0facc87781e25e59337f1371489742a945764 (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 cc1edc5ec..c2fabf63b 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -110,4 +110,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)
+
+);