Upgrade Script für ccm-core 6.6.3 auf 6.6.4 erweitert um Entfernung SiteMap Application

git-svn-id: https://svn.libreccm.org/ccm/trunk@1917 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2012-11-10 12:18:17 +00:00
parent b6a02b6990
commit 5f588035da
1 changed files with 21 additions and 0 deletions

View File

@ -135,3 +135,24 @@ alter table apm_packages add constraint apm_package_package_id_f_46may
-- functionality and is removed. -- functionality and is removed.
-- New, legacy free application works without a (dummy) Application table -- New, legacy free application works without a (dummy) Application table
drop table sitemap_app ; drop table sitemap_app ;
delete from applications
where application_type_id =
(select application_type_id from application_types
where object_type like '%sitemap.SiteMap%');
delete from object_container_map
where object_id =
(select object_id from acs_objects
where object_type like '%sitemap.SiteMap%');
delete from object_context
where object_id =
(select object_id from acs_objects
where object_type like '%sitemap.SiteMap%');
delete from acs_objects
where object_type like '%sitemap.SiteMap%';
delete from application_types
where object_type like '%sitemap.SiteMap%';