From: Evan Prodromou Date: Mon, 28 Dec 2009 21:53:28 +0000 (-0800) Subject: add table user_location_prefs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9d31da210fffe10bfa61a5f9f48a2cdb929425b;p=quix0rs-gnu-social.git add table user_location_prefs --- diff --git a/db/statusnet.sql b/db/statusnet.sql index 6b3c2ca068..94b03df639 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -587,3 +587,12 @@ 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; +