CCM NG: Additional database migration steps for removing WorkflowTemplate
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5028 8810af33-2d31-482b-a856-94f89814c4dfccm-docs
parent
eff01d328c
commit
4e651f185a
|
|
@ -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
|
||||
add constraint FK1t85m4jehnhd6tyx5dtpavr15
|
||||
|
|
@ -12,6 +13,3 @@ alter table CCM_CMS.CONTENT_TYPES
|
|||
add constraint FKpgeccqsr50xwb268ypmfx0r66
|
||||
foreign key (DEFAULT_WORKFLOW)
|
||||
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
|
||||
add constraint FK1t85m4jehnhd6tyx5dtpavr15
|
||||
|
|
@ -12,6 +13,3 @@ alter table CCM_CMS.CONTENT_TYPES
|
|||
add constraint FKpgeccqsr50xwb268ypmfx0r66
|
||||
foreign key (DEFAULT_WORKFLOW)
|
||||
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