]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'pull/5212'
authorAnton Khorev <tony29@yandex.ru>
Tue, 17 Sep 2024 12:26:19 +0000 (15:26 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 17 Sep 2024 12:26:19 +0000 (15:26 +0300)
db/migrate/20240913171951_drop_user_creation_ip.rb [new file with mode: 0644]
db/structure.sql

diff --git a/db/migrate/20240913171951_drop_user_creation_ip.rb b/db/migrate/20240913171951_drop_user_creation_ip.rb
new file mode 100644 (file)
index 0000000..7915f6e
--- /dev/null
@@ -0,0 +1,5 @@
+class DropUserCreationIp < ActiveRecord::Migration[7.1]
+  def change
+    safety_assured { remove_column :users, :creation_ip, :string }
+  end
+end
index 60164558c9c3f47b6cab418a3a76af8cdcb4097f..25b2f173fc6f2a42d00856e3b94c7bec45818b4c 100644 (file)
@@ -1482,7 +1482,6 @@ CREATE TABLE public.users (
     pass_salt character varying,
     email_valid boolean DEFAULT false NOT NULL,
     new_email character varying,
-    creation_ip character varying,
     languages character varying,
     status public.user_status_enum DEFAULT 'pending'::public.user_status_enum NOT NULL,
     terms_agreed timestamp without time zone,
@@ -3357,6 +3356,7 @@ INSERT INTO "schema_migrations" (version) VALUES
 ('23'),
 ('22'),
 ('21'),
+('20240913171951'),
 ('20240912181413'),
 ('20240910175616'),
 ('20240822121603'),