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-94f89814c4dfmaster
parent
fcc241b5b0
commit
1053674371
|
|
@ -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;
|
|
||||||
Loading…
Reference in New Issue