diff options
author | Evan Prodromou <evan@status.net> | 2009-12-28 13:53:28 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-12-28 15:57:04 -0800 |
commit | a9d31da210fffe10bfa61a5f9f48a2cdb929425b (patch) | |
tree | 7dbaea4c8a00e5e455332af5621db3aa8b262207 | |
parent | fa3301cf84ee0a78c4e00c7bd309de8a769fd848 (diff) |
add table user_location_prefs
-rw-r--r-- | db/statusnet.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql index 6b3c2ca06..94b03df63 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; + |