]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
added the inbox table to postgres upgrade script
authorBrenda Wallace <shiny@cpan.org>
Thu, 27 May 2010 03:06:42 +0000 (03:06 +0000)
committerBrenda Wallace <shiny@cpan.org>
Thu, 27 May 2010 03:06:42 +0000 (03:06 +0000)
db/08to09_pg.sql

index cc1edc5ec0f9dcc69c5cec1d444b25c1504a8b12..c2fabf63ba3f97ab6f6061bfcaf459fdd8e23508 100644 (file)
@@ -110,4 +110,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)
+
+);