From 922db17259376d249374625324a77eee194f5ac8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 29 Dec 2009 21:54:08 -0800 Subject: [PATCH] add an inbox blob table --- db/statusnet.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/db/statusnet.sql b/db/statusnet.sql index 94b03df639..cb33ccf33e 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -596,3 +596,11 @@ create table user_location_prefs ( constraint primary key (user_id) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; +create table inbox ( + + user_id integer not null comment 'user receiving the notice' references user (id), + notice_ids blob comment 'packed list of notice ids', + + constraint primary key (user_id) + +) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;