summaryrefslogtreecommitdiff
path: root/db/rc2torc3.sql
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-14 01:50:21 +0000
committerSarven Capadisli <csarven@status.net>2010-01-14 01:50:21 +0000
commit085406ea88efd4caaad3933871554dd30a23eba6 (patch)
tree78828e20ad893a84060090395b06e365e7123467 /db/rc2torc3.sql
parentacc48289e5f87e879e6a1182b43e405016e675d6 (diff)
parentfba840ed568222b082dbac81cd8e38217d53a7ec (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'db/rc2torc3.sql')
-rw-r--r--db/rc2torc3.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/db/rc2torc3.sql b/db/rc2torc3.sql
new file mode 100644
index 000000000..886b9adf2
--- /dev/null
+++ b/db/rc2torc3.sql
@@ -0,0 +1,17 @@
+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;
+
+create table inbox (
+
+ user_id integer not null comment 'user receiving the notice' references user (id),
+ notice_ids blob comment 'packed list of notice ids',
+
+ constraint primary key (user_id)
+
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;