Typos in DB migrations
parent
0acc95ff43
commit
5c018eb9de
|
|
@ -1,5 +1,5 @@
|
|||
alter table CCM_CMS.LIFECYCLE_PHASE_DEFINITIONS add column UUID varchar(255);
|
||||
update CCM_CMS.LIFECYCLE_PHASE_DEFINITIONS set UUID = random_uuid();
|
||||
alter table CCM_CMS.LIFECYCLE_PHASE_DEFINITIONS alter column UUID not null;
|
||||
alter table CCM_CMS.LIFECYCLE_PHASE_DEFINITIONS alter column UUID set not null;
|
||||
alter table CCM_CMS.LIFECYCLE_PHASE_DEFINITIONS
|
||||
add constraint UK_tcvepjkkbcehplxddnil66fwn unique (uuid);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
alter table CCM_CMS.LIFECYLE_PHASES add column UUID varchar(255);
|
||||
update CCM_CMS.LIFECYLE_PHASES set UUID = random_uuid();
|
||||
alter table CCM_CMS.LIFECYLE_PHASES alter column UUID not null;
|
||||
alter table CCM_CMS.LIFECYLE_PHASES alter column UUID set not null;
|
||||
alter table CCM_CMS.LIFECYLE_PHASES
|
||||
add constraint UK_bkk376s9kchydlkuq052shnh5 unique (uuid);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
alter table CCM_CMS.LIFECYLE_PHASES add column UUID varchar(255);
|
||||
update CCM_CMS.LIFECYLE_PHASES set UUID = gen_random_uuid();
|
||||
alter table CCM_CMS.LIFECYLE_PHASES alter column UUID not null;
|
||||
alter table CCM_CMS.LIFECYLE_PHASES alter column UUID set not null;
|
||||
alter table CCM_CMS.LIFECYLE_PHASES
|
||||
add constraint UK_bkk376s9kchydlkuq052shnh5 unique (uuid);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue