diff options
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r-- | db/statusnet.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql index 6b3c2ca06..cb33ccf33 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -587,3 +587,20 @@ create table login_token ( constraint primary key (user_id) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; +create table user_location_prefs ( + user_id integer not null comment 'user who has the preference' references user (id), + share_location tinyint default 1 comment 'Whether to share location data', + created datetime not null comment 'date this record was created', + modified timestamp comment 'date this record was modified', + + 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; |