Change registrars.language to NOT NULL and set default to "et"

#640
This commit is contained in:
Artur Beljajev 2017-11-23 06:03:52 +02:00
parent 4b287a3e75
commit 1cd4d2854f
2 changed files with 8 additions and 1 deletions

View file

@ -2478,7 +2478,7 @@ CREATE TABLE registrars (
legacy_id integer,
reference_no character varying,
test_registrar boolean DEFAULT false,
language character varying
language character varying NOT NULL
);
@ -5060,3 +5060,5 @@ INSERT INTO schema_migrations (version) VALUES ('20171025153841');
INSERT INTO schema_migrations (version) VALUES ('20171121233843');
INSERT INTO schema_migrations (version) VALUES ('20171123035941');