Added missing parts for the upgrade script for renaming ccm-cms-types-simpleorganization to ccm-cms-types-organization
git-svn-id: https://svn.libreccm.org/ccm/trunk@2840 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
cf9ed68bfb
commit
4d1900db5a
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
-- Rename tables
|
-- Rename tables
|
||||||
ALTER TABLE ct_simpleorganizations RENAME TO ct_organizations;
|
ALTER TABLE ct_simpleorganizations RENAME TO ct_organizations;
|
||||||
|
ALTER TABLE ct_simpleorganization_bundles RENAME TO ct_organization_bundles;
|
||||||
|
|
||||||
-- Update inits
|
-- Update inits
|
||||||
|
|
||||||
|
|
@ -56,6 +57,11 @@ UPDATE acs_objects
|
||||||
default_domain_class = 'com.arsdigita.cms.contenttypes.Organization'
|
default_domain_class = 'com.arsdigita.cms.contenttypes.Organization'
|
||||||
WHERE default_domain_class = 'com.arsdigita.cms.contenttypes.SimpleOrganization';
|
WHERE default_domain_class = 'com.arsdigita.cms.contenttypes.SimpleOrganization';
|
||||||
|
|
||||||
|
UPDATE acs_objects
|
||||||
|
SET object_type = 'com.arsdigita.cms.contenttypes.OrganizationBundle',
|
||||||
|
default_domain_class = 'com.arsdigita.cms.contenttypes.OrganizationBundle'
|
||||||
|
WHERE default_domain_class = 'com.arsdigita.cms.contenttypes.SimpleOrganizationBundle';
|
||||||
|
|
||||||
--Adjust content type organization in contenttype directory table
|
--Adjust content type organization in contenttype directory table
|
||||||
UPDATE content_types
|
UPDATE content_types
|
||||||
SET object_type = 'com.arsdigita.cms.contenttypes.Organization',
|
SET object_type = 'com.arsdigita.cms.contenttypes.Organization',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue