From cc25ec175530a691686087db4c23a1a28ffd1b62 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Thu, 27 May 2010 03:06:42 +0000 Subject: [PATCH] added the inbox table to postgres upgrade script --- db/08to09_pg.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql index de228c117b..498a94e68a 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) + +);