summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
+
+);