From bdb1090a405f73d94c5b7441343684f0f47c1373 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 25 Oct 2017 14:16:45 +0300 Subject: [PATCH] Remove unused db column #343 --- ...1025110933_remove_registrar_exclude_in_monthly_directo.rb | 5 +++++ db/structure.sql | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20171025110933_remove_registrar_exclude_in_monthly_directo.rb diff --git a/db/migrate/20171025110933_remove_registrar_exclude_in_monthly_directo.rb b/db/migrate/20171025110933_remove_registrar_exclude_in_monthly_directo.rb new file mode 100644 index 000000000..94edcd982 --- /dev/null +++ b/db/migrate/20171025110933_remove_registrar_exclude_in_monthly_directo.rb @@ -0,0 +1,5 @@ +class RemoveRegistrarExcludeInMonthlyDirecto < ActiveRecord::Migration + def change + remove_column :registrars, :exclude_in_monthly_directo, :string + end +end diff --git a/db/structure.sql b/db/structure.sql index ffce69261..7e4a669f2 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -2477,7 +2477,6 @@ CREATE TABLE registrars ( vat boolean, legacy_id integer, reference_no character varying, - exclude_in_monthly_directo boolean DEFAULT false, test_registrar boolean DEFAULT false ); @@ -5052,3 +5051,5 @@ INSERT INTO schema_migrations (version) VALUES ('20171009080822'); INSERT INTO schema_migrations (version) VALUES ('20171009082321'); +INSERT INTO schema_migrations (version) VALUES ('20171025110933'); +