script to upgrade from RC2 to RC3

This commit is contained in:
Evan Prodromou 2010-01-13 17:28:31 -08:00
parent 4d7cdbf1c6
commit 8d6b4cadf3
1 changed files with 17 additions and 0 deletions

17
db/rc2torc3.sql Normal file
View File

@ -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;