summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-29 21:54:08 -0800
committerEvan Prodromou <evan@status.net>2009-12-29 21:54:08 -0800
commit2ecdeb3dddc1c47ba6fd25536cacca88ce659b34 (patch)
treeccfefa621f1acbf80a023d926fdc87f0f5597a63
parenta1b130541b75d774faee663e3ab1c5c9044a5849 (diff)
add an inbox blob table
-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;