From 5f588035dabfb1cbc683858411e7674d12dc7cb3 Mon Sep 17 00:00:00 2001 From: jensp Date: Sat, 10 Nov 2012 12:18:17 +0000 Subject: [PATCH] =?UTF-8?q?Upgrade=20Script=20f=C3=BCr=20ccm-core=206.6.3?= =?UTF-8?q?=20auf=206.6.4=20erweitert=20um=20Entfernung=20SiteMap=20Applic?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@1917 8810af33-2d31-482b-a856-94f89814c4df --- .../remove_sitemap_legacy_entries.sql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ccm-core/sql/ccm-core/upgrade/default/6.6.3-6.6.4/remove_sitemap_legacy_entries.sql b/ccm-core/sql/ccm-core/upgrade/default/6.6.3-6.6.4/remove_sitemap_legacy_entries.sql index d9a486811..13e122ba4 100644 --- a/ccm-core/sql/ccm-core/upgrade/default/6.6.3-6.6.4/remove_sitemap_legacy_entries.sql +++ b/ccm-core/sql/ccm-core/upgrade/default/6.6.3-6.6.4/remove_sitemap_legacy_entries.sql @@ -135,3 +135,24 @@ alter table apm_packages add constraint apm_package_package_id_f_46may -- functionality and is removed. -- New, legacy free application works without a (dummy) Application table 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%'; \ No newline at end of file