]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add an inbox blob table
authorEvan Prodromou <evan@status.net>
Wed, 30 Dec 2009 05:54:08 +0000 (21:54 -0800)
committerEvan Prodromou <evan@status.net>
Sat, 9 Jan 2010 18:01:20 +0000 (10:01 -0800)
db/statusnet.sql

index 94b03df639172146dff192e21634e2ff1db5362b..cb33ccf33e3ec2cabf9740c915630d71fcae9ee6 100644 (file)
@@ -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;