mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
parent
70fb91c812
commit
f449f1c107
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeRegistrarsCountryCodeToNotNull < ActiveRecord::Migration
|
||||
def change
|
||||
change_column_null :registrars, :country_code, false
|
||||
end
|
||||
end
|
|
@ -2424,7 +2424,7 @@ CREATE TABLE registrars (
|
|||
phone character varying,
|
||||
email character varying,
|
||||
billing_email character varying,
|
||||
country_code character varying,
|
||||
country_code character varying NOT NULL,
|
||||
state character varying,
|
||||
city character varying,
|
||||
street character varying,
|
||||
|
@ -5122,3 +5122,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180228070431');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180228074442');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180228084818');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue