mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
parent
0751a69d83
commit
98339bc551
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class ChangeContactsAuthInfoToNotNull < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
change_column_null :contacts, :auth_info, false
|
||||||
|
end
|
||||||
|
end
|
|
@ -652,7 +652,7 @@ CREATE TABLE contacts (
|
||||||
updated_at timestamp without time zone,
|
updated_at timestamp without time zone,
|
||||||
ident character varying,
|
ident character varying,
|
||||||
ident_type character varying,
|
ident_type character varying,
|
||||||
auth_info character varying,
|
auth_info character varying NOT NULL,
|
||||||
name character varying,
|
name character varying,
|
||||||
org_name character varying,
|
org_name character varying,
|
||||||
registrar_id integer NOT NULL,
|
registrar_id integer NOT NULL,
|
||||||
|
@ -5066,3 +5066,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180123165604');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20180123170112');
|
INSERT INTO schema_migrations (version) VALUES ('20180123170112');
|
||||||
|
|
||||||
|
INSERT INTO schema_migrations (version) VALUES ('20180125092422');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue