X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3fb931f9a86955faa39bec1fa4f2a731cbc74780..898cc828dd1f1167f85abbf35c8e3f0ed640ac1e:/db/structure.sql

diff --git a/db/structure.sql b/db/structure.sql
index 102a95cf2..b76995b68 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -733,8 +733,7 @@ CREATE TABLE note_comments (
     note_id bigint NOT NULL,
     visible boolean NOT NULL,
     created_at timestamp without time zone NOT NULL,
-    author_name character varying(255),
-    author_ip character varying(255),
+    author_ip inet,
     author_id bigint,
     body text,
     event note_event_enum
@@ -771,7 +770,6 @@ CREATE TABLE notes (
     tile bigint NOT NULL,
     updated_at timestamp without time zone NOT NULL,
     created_at timestamp without time zone NOT NULL,
-    nearby_place character varying(255),
     status note_status_enum NOT NULL,
     closed_at timestamp without time zone
 );
@@ -1103,7 +1101,8 @@ CREATE TABLE users (
     image_fingerprint character varying(255),
     changesets_count integer DEFAULT 0 NOT NULL,
     traces_count integer DEFAULT 0 NOT NULL,
-    diary_entries_count integer DEFAULT 0 NOT NULL
+    diary_entries_count integer DEFAULT 0 NOT NULL,
+    image_use_gravatar boolean DEFAULT true NOT NULL
 );
 
 
@@ -2444,6 +2443,14 @@ INSERT INTO schema_migrations (version) VALUES ('20120808231205');
 
 INSERT INTO schema_migrations (version) VALUES ('20121005195010');
 
+INSERT INTO schema_migrations (version) VALUES ('20121012044047');
+
+INSERT INTO schema_migrations (version) VALUES ('20121119165817');
+
+INSERT INTO schema_migrations (version) VALUES ('20121202155309');
+
+INSERT INTO schema_migrations (version) VALUES ('20121203124841');
+
 INSERT INTO schema_migrations (version) VALUES ('21');
 
 INSERT INTO schema_migrations (version) VALUES ('22');
