libreccm-legacy/ccm-ldn-aplaws/sql/oracle-se/upgrade/aplaws-1.0.1-1.0.2.sql

42 lines
1.0 KiB
SQL
Executable File

@@ ../../../../content-types/sql/oracle-se/article-update-1.sql
@@ ../../../../dublin-content-types/sql/oracle-se/upgrade-1.sql
-- Remove the authoring kit steps for the non-dublin type
delete from acs_objects where object_id in
(select m.step_id
from authoring_kit_step_map m,
authoring_kits k,
content_types t
where t.type_id = k.type_id
and k.kit_id = m.kit_id
and t.classname in (
'com.arsdigita.cms.Article'
)
);
-- Remove the authoring kits for the non-dublin type
delete from acs_objects where object_id in
(select k.kit_id
from authoring_kits k,
content_types t
where t.type_id = k.type_id
and t.classname in (
'com.arsdigita.cms.Article'
)
);
-- Remove the non-dublin type
delete from acs_objects where object_id in
(select t.type_id
from content_types t
where t.classname in (
'com.arsdigita.cms.Article'
)
);
@@ ../../../../portal/sql/oracle-se/portal-upgrade-1.sql
@@ ../../../../dublin/sql/oracle-se/upgrade-2.sql