From: Tom Hughes Date: Fri, 13 Sep 2024 17:23:50 +0000 (+0100) Subject: Drop creation_ip column X-Git-Tag: live~120^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/28650d4dfb307b8928c97253018c4c39f3b96842?ds=sidebyside Drop creation_ip column --- diff --git a/db/migrate/20240913171951_drop_user_creation_ip.rb b/db/migrate/20240913171951_drop_user_creation_ip.rb new file mode 100644 index 000000000..7915f6ec7 --- /dev/null +++ b/db/migrate/20240913171951_drop_user_creation_ip.rb @@ -0,0 +1,5 @@ +class DropUserCreationIp < ActiveRecord::Migration[7.1] + def change + safety_assured { remove_column :users, :creation_ip, :string } + end +end diff --git a/db/structure.sql b/db/structure.sql index 60164558c..25b2f173f 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -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'),