Remove registrars.vat DB column

#623
This commit is contained in:
Artur Beljajev 2018-02-28 09:46:17 +02:00
parent 6a01226138
commit 37cc05e44c
4 changed files with 7 additions and 3 deletions

View file

@ -0,0 +1,5 @@
class RemoveRegistrarsVat < ActiveRecord::Migration
def change
remove_column :registrars, :vat, :boolean
end
end

View file

@ -2432,7 +2432,6 @@ CREATE TABLE registrars (
code character varying,
website character varying,
accounting_customer_code character varying NOT NULL,
vat boolean,
legacy_id integer,
reference_no character varying,
test_registrar boolean DEFAULT false,
@ -5121,3 +5120,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180228070102');
INSERT INTO schema_migrations (version) VALUES ('20180228070431');
INSERT INTO schema_migrations (version) VALUES ('20180228074442');