resolved user.rb conflict
This commit is contained in:
parent
bfdef8dc68
commit
7bcda2794f
4 changed files with 40 additions and 11 deletions
|
@ -46,3 +46,6 @@ alter table users add column within_lon double default 2;
|
|||
alter table users add column within_lat double default 2;
|
||||
|
||||
create table messages (id bigint not null auto_increment, user_id bigint(20) not null, from_user_id bigint(20) not null, title varchar(255), body text, sent_on datetime, message_read boolean default 0, primary key(id));
|
||||
|
||||
create table friends (id bigint not null auto_increment, user_id bigint(20) not null, friend_user_id(20) not null, primary key(id));
|
||||
create index user_id_idx on friends(friend_user_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue