]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/08to09_pg.sql
SQL script to update status_network table
[quix0rs-gnu-social.git] / db / 08to09_pg.sql
index de228c117bb79598a5b9d19b84e76420ce0850db..498a94e68a505450e7ecc62b73d052748bf96f44 100644 (file)
@@ -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)
+
+);