]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate.sql
Added user home lat and lon
[rails.git] / db / migrate.sql
index 6f7266cefcc39adce6db3ab683604e8fd8469802..f953eec25998169200680864d616dce99b657a0a 100644 (file)
@@ -36,3 +36,9 @@ alter table gpx_files drop column tmpname;
 
 alter table users add column description text not null;
 create table diary_entries(id bigint not null auto_increment, user_id bigint not null, title varchar(255), body text, primary key(id));
 
 alter table users add column description text not null;
 create table diary_entries(id bigint not null auto_increment, user_id bigint not null, title varchar(255), body text, primary key(id));
+alter table diary_entries add created_at datetime;
+alter table diary_entries add updated_at datetime;
+
+alter table users add column (home_lat double default NULL);
+alter table users add column (home_lon double default NULL);
+