From: Evan Prodromou Date: Mon, 28 Dec 2009 21:54:09 +0000 (-0800) Subject: Add user_location_prefs to upgrade script X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9ad0f596b5dca5961dc4b47bca397371d026744;p=quix0rs-gnu-social.git Add user_location_prefs to upgrade script --- diff --git a/db/08to09.sql b/db/08to09.sql index 28ec3ec16b..d9c25bc723 100644 --- a/db/08to09.sql +++ b/db/08to09.sql @@ -84,3 +84,13 @@ 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; +