X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c382f33e1c2e17ba00898dede1ff9c3605818f16..12f9bedbf5a949752a45184e760eada952bf8fc2:/db/migrate.sql

diff --git a/db/migrate.sql b/db/migrate.sql
index a884156d4..dc81e5d0c 100644
--- a/db/migrate.sql
+++ b/db/migrate.sql
@@ -30,5 +30,14 @@ alter table gpx_file_tags add id int(20) auto_increment not null, add primary ke
 alter table users add preferences text;
 create index users_display_name_idx on users(display_name);
 
-alter table users add public boolean default false;
+alter table users add data_public boolean default false;
+
+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;
+
+
 
