From: Brenda Wallace Date: Mon, 16 Aug 2010 02:52:23 +0000 (+0000) Subject: Merge commit 'origin/0.9.x' into 0.9.x X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=640e7e7c43fa8e9b1a8516b486e560df84bd9887;p=quix0rs-gnu-social.git Merge commit 'origin/0.9.x' into 0.9.x --- 640e7e7c43fa8e9b1a8516b486e560df84bd9887 diff --cc db/08to09_pg.sql index c2fabf63ba,498a94e68a..d3eb644437 --- a/db/08to09_pg.sql +++ b/db/08to09_pg.sql @@@ -100,22 -100,23 +100,41 @@@ insert into queue_item_new (frame,trans alter table queue_item rename to queue_item_old; alter table queue_item_new rename to queue_item; + ALTER TABLE confirm_address ALTER column sent set default CURRENT_TIMESTAMP; + + create table user_location_prefs ( + user_id integer not null /*comment 'user who has the preference'*/ references "user" (id), + share_location int default 1 /* comment 'Whether to share location data'*/, + created timestamp not null /*comment 'date this record was created'*/, + modified timestamp /* comment 'date this record was modified'*/, + + 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) + + ); +create table user_location_prefs ( + user_id integer not null /*comment 'user who has the preference'*/ references "user" (id), + share_location int default 1 /* comment 'Whether to share location data'*/, + created timestamp not null /*comment 'date this record was created'*/, + modified timestamp /* comment 'date this record was modified'*/, + + 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) + +); +