summaryrefslogtreecommitdiff
path: root/db/statusnet.sql
diff options
context:
space:
mode:
authorroot <root@ip-10-250-162-129.ec2.internal>2010-01-09 23:25:08 +0000
committerroot <root@ip-10-250-162-129.ec2.internal>2010-01-09 23:25:08 +0000
commitd59df6b27013fb534d6444d8e4790f2edcd9459a (patch)
treebd5bcc8e4ecd0e9391efdcac8ff906fd8b506a60 /db/statusnet.sql
parentd6db8e58170e6e78a0fd67d50f7fea5d95b5d9c8 (diff)
parentf396701b6466749c09ce16b1e7f2f96c10b05cdd (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline 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;
+