X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f9baf5f392370318966c9392e3badbbd715592ad..60a294c40e341af16fa2eac6de5df2b0917a74be:/db/migrate.sql

diff --git a/db/migrate.sql b/db/migrate.sql
index 6f7266cef..f953eec25 100644
--- a/db/migrate.sql
+++ b/db/migrate.sql
@@ -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 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);
+
