mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Change contacts.uuid
and domains.uuid
to NOT NULL
This commit is contained in:
parent
1eca44f32c
commit
5626c87e04
4 changed files with 23 additions and 2 deletions
|
@ -640,7 +640,7 @@ CREATE TABLE contacts (
|
|||
ident_updated_at timestamp without time zone,
|
||||
upid integer,
|
||||
up_date timestamp without time zone,
|
||||
uuid uuid DEFAULT gen_random_uuid()
|
||||
uuid uuid DEFAULT gen_random_uuid() NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -913,7 +913,7 @@ CREATE TABLE domains (
|
|||
statuses_backup character varying[] DEFAULT '{}'::character varying[],
|
||||
upid integer,
|
||||
up_date timestamp without time zone,
|
||||
uuid uuid DEFAULT gen_random_uuid()
|
||||
uuid uuid DEFAULT gen_random_uuid() NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
@ -4738,3 +4738,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180612042625');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180612042953');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180613030330');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue