Add registrars.language DB column

#640
This commit is contained in:
Artur Beljajev 2017-11-22 15:02:43 +02:00
parent bf303e2059
commit 4b287a3e75
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddRegistrarLanguage < ActiveRecord::Migration
def change
add_column :registrars, :language, :string
end
end

View file

@ -2477,7 +2477,8 @@ CREATE TABLE registrars (
vat boolean,
legacy_id integer,
reference_no character varying,
test_registrar boolean DEFAULT false
test_registrar boolean DEFAULT false,
language character varying
);
@ -5057,3 +5058,5 @@ INSERT INTO schema_migrations (version) VALUES ('20171025113808');
INSERT INTO schema_migrations (version) VALUES ('20171025153841');
INSERT INTO schema_migrations (version) VALUES ('20171121233843');