Fixed upgrade script ccm-ldn-aplaws-0.0.0-6.6.1. One more delete was necessary.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3025 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-12-10 08:43:07 +00:00
parent fcc241b5b0
commit 1053674371
1 changed files with 6 additions and 1 deletions

View File

@ -65,10 +65,15 @@ UPDATE vcx_tags
SET tagged_oid = REPLACE(tagged_oid,'com.arsdigita.cms.contenttypes.HTMLForm', 'com.arsdigita.cms.contenttypes.Article') SET tagged_oid = REPLACE(tagged_oid,'com.arsdigita.cms.contenttypes.HTMLForm', 'com.arsdigita.cms.contenttypes.Article')
WHERE tagged_oid LIKE '%com.arsdigita.cms.contenttypes.HTMLForm%'; WHERE tagged_oid LIKE '%com.arsdigita.cms.contenttypes.HTMLForm%';
DELETE FROM atoz_cat_ct_blacklist_map
WHERE type_id = (SELECT type_id
FROM content_types
WHERE object_type = 'com.arsdigita.cms.contenttypes.HTMLForm');
DELETE FROM content_section_type_map DELETE FROM content_section_type_map
WHERE type_id = (SELECT type_id WHERE type_id = (SELECT type_id
FROM content_types FROM content_types
WHERE object_type = 'com.arsdigita.cms.contenttypes.HTMLForm'); WHERE object_type = 'com.arsdigita.cms.contenttypes.HTMLForm');
DELETE FROM content_types WHERE object_type = 'com.arsdigita.cms.contenttypes.HTMLForm'; DELETE FROM content_types WHERE object_type = 'com.arsdigita.cms.contenttypes.HTMLForm';
DROP TABLE IF EXISTS ct_htmlform;