summaryrefslogtreecommitdiff
path: root/db/statusnet.sql
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-28 15:49:27 -0800
committerEvan Prodromou <evan@status.net>2009-12-28 15:49:27 -0800
commite119362fde9eabb27d48c94a98624aeae68e436c (patch)
tree04d2e1fb5e1b2a5b64c4d0ef12b532397ec0a331 /db/statusnet.sql
parent98a579fedf36ff795e255a4b345651df0ee230bc (diff)
parentca6669538a16f36f92df918d679671b95b1859ac (diff)
Merge branch 'locshunt' into 0.9.x
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r--db/statusnet.sql9
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;
+