summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-29 21:54:08 -0800
committerEvan Prodromou <evan@status.net>2010-01-09 10:01:20 -0800
commit922db17259376d249374625324a77eee194f5ac8 (patch)
tree96c48d22285e8a9db45cea9de73c8e79521df86d /db
parent055f3fdddb998bfee1a6f6e61d1ca6df4b2fb740 (diff)
add an inbox blob table
Diffstat (limited to 'db')
-rw-r--r--db/statusnet.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index 94b03df63..cb33ccf33 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;