CCM NG: Additional database migration steps for removing WorkflowTemplate
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5028 8810af33-2d31-482b-a856-94f89814c4df
parent
0fb8ea13bd
commit
993ddd406e
|
|
@ -1,4 +1,5 @@
|
||||||
drop constraint FKrx08cdjm9tutrp5lvfhgslw48;
|
alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
||||||
|
drop constraint if exists FKrx08cdjm9tutrp5lvfhgslw48;
|
||||||
|
|
||||||
alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
||||||
add constraint FK1t85m4jehnhd6tyx5dtpavr15
|
add constraint FK1t85m4jehnhd6tyx5dtpavr15
|
||||||
|
|
@ -6,12 +7,9 @@ alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
||||||
references CCM_CORE.WORKFLOWS;
|
references CCM_CORE.WORKFLOWS;
|
||||||
|
|
||||||
alter table CCM_CMS.CONTENT_TYPES
|
alter table CCM_CMS.CONTENT_TYPES
|
||||||
drop constraint if exists FKhnu9oikw8rpf22lt5fmk41t7k;
|
drop constraint if exists FKhnu9oikw8rpf22lt5fmk41t7k;
|
||||||
|
|
||||||
alter table CCM_CMS.CONTENT_TYPES
|
alter table CCM_CMS.CONTENT_TYPES
|
||||||
add constraint FKpgeccqsr50xwb268ypmfx0r66
|
add constraint FKpgeccqsr50xwb268ypmfx0r66
|
||||||
foreign key (DEFAULT_WORKFLOW)
|
foreign key (DEFAULT_WORKFLOW)
|
||||||
references CCM_CORE.WORKFLOWS;
|
references CCM_CORE.WORKFLOWS;
|
||||||
|
|
||||||
alter table if exists FKeixdxau4jebw682gd49tdbsjy
|
|
||||||
drop constraint FKeixdxau4jebw682gd49tdbsjy;
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
drop constraint FKrx08cdjm9tutrp5lvfhgslw48;
|
alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
||||||
|
drop constraint if exists FKrx08cdjm9tutrp5lvfhgslw48;
|
||||||
|
|
||||||
alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
||||||
add constraint FK1t85m4jehnhd6tyx5dtpavr15
|
add constraint FK1t85m4jehnhd6tyx5dtpavr15
|
||||||
|
|
@ -6,12 +7,9 @@ alter table CCM_CMS.CONTENT_SECTION_WORKFLOW_TEMPLATES
|
||||||
references CCM_CORE.WORKFLOWS;
|
references CCM_CORE.WORKFLOWS;
|
||||||
|
|
||||||
alter table CCM_CMS.CONTENT_TYPES
|
alter table CCM_CMS.CONTENT_TYPES
|
||||||
drop constraint if exists FKhnu9oikw8rpf22lt5fmk41t7k;
|
drop constraint if exists FKhnu9oikw8rpf22lt5fmk41t7k;
|
||||||
|
|
||||||
alter table CCM_CMS.CONTENT_TYPES
|
alter table CCM_CMS.CONTENT_TYPES
|
||||||
add constraint FKpgeccqsr50xwb268ypmfx0r66
|
add constraint FKpgeccqsr50xwb268ypmfx0r66
|
||||||
foreign key (DEFAULT_WORKFLOW)
|
foreign key (DEFAULT_WORKFLOW)
|
||||||
references CCM_CORE.WORKFLOWS;
|
references CCM_CORE.WORKFLOWS;
|
||||||
|
|
||||||
alter table if exists FKeixdxau4jebw682gd49tdbsjy
|
|
||||||
drop constraint FKeixdxau4jebw682gd49tdbsjy;
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
update CCM_CORE.WORKFLOWS
|
||||||
|
set ABSTRACT_WORKFLOW = false
|
||||||
|
where ABSTRACT_WORKFLOW is null;
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
update CCM_CORE.WORKFLOWS
|
||||||
|
set ABSTRACT_WORKFLOW = false
|
||||||
|
where ABSTRACT_WORKFLOW is null;
|
||||||
Loading…
Reference in New Issue