]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - db/rc2torc3.sql
Add request_queue table and user_group.join_policy column, for upcoming join & subscr...
[quix0rs-gnu-social.git] / db / rc2torc3.sql
1 create table user_location_prefs (
2     user_id integer not null comment 'user who has the preference' references user (id),
3     share_location tinyint default 1 comment 'Whether to share location data',
4     created datetime not null comment 'date this record was created',
5     modified timestamp comment 'date this record was modified',
6
7     constraint primary key (user_id)
8 ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
9
10 create table inbox (
11
12     user_id integer not null comment 'user receiving the notice' references user (id),
13     notice_ids blob comment 'packed list of notice ids',
14
15     constraint primary key (user_id)
16
17 ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;