Add user_location_prefs to upgrade script
This commit is contained in:
parent
8d4e617d4e
commit
b141f7aea5
@ -84,3 +84,13 @@ create table login_token (
|
|||||||
|
|
||||||
constraint primary key (user_id)
|
constraint primary key (user_id)
|
||||||
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
|
) 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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user