Some bugfixes for the upgrade script for ccm-ldn-types-organization (ex ccm-cms-types-organization)
git-svn-id: https://svn.libreccm.org/ccm/trunk@2819 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
ddf186ebe1
commit
5a1e902399
|
|
@ -19,12 +19,12 @@
|
||||||
ALTER TABLE init_requirements DROP CONSTRAINT init_requirements_init_f_cmmdn ;
|
ALTER TABLE init_requirements DROP CONSTRAINT init_requirements_init_f_cmmdn ;
|
||||||
|
|
||||||
UPDATE inits
|
UPDATE inits
|
||||||
SET classname='com.arsdigita.cms.contenttypes.ldn.OrganizationInitializer'
|
SET class_name='com.arsdigita.cms.contenttypes.ldn.OrganizationInitializer'
|
||||||
WHERE classname='com.arsdigita.cms.contenttypes.OrganizationInitializer'
|
WHERE class_name='com.arsdigita.cms.contenttypes.OrganizationInitializer';
|
||||||
|
|
||||||
update init_requirements
|
UPDATE init_requirements
|
||||||
set init='com.arsdigita.cms.contenttypes.ldn.SimpleOrganiztionInitializer'
|
SET init='com.arsdigita.cms.contenttypes.ldn.OrganizationInitializer'
|
||||||
where init='com.arsdigita.cms.contenttypes.OrganizationInitializer' ;
|
WHERE init='com.arsdigita.cms.contenttypes.OrganizationInitializer' ;
|
||||||
|
|
||||||
ALTER TABLE init_requirements
|
ALTER TABLE init_requirements
|
||||||
ADD CONSTRAINT init_requirements_init_f_cmmdn FOREIGN KEY (init)
|
ADD CONSTRAINT init_requirements_init_f_cmmdn FOREIGN KEY (init)
|
||||||
|
|
@ -40,7 +40,7 @@ UPDATE authoring_steps
|
||||||
SET label_bundle='com.arsdigita.cms.contenttypes.ldn.OrganizationResources',
|
SET label_bundle='com.arsdigita.cms.contenttypes.ldn.OrganizationResources',
|
||||||
description_bundle='com.arsdigita.cms.contenttypes.ldn.OrganizationResources',
|
description_bundle='com.arsdigita.cms.contenttypes.ldn.OrganizationResources',
|
||||||
component='com.arsdigita.cms.contenttypes.ldn.ui.OrganizationPropertiesStep'
|
component='com.arsdigita.cms.contenttypes.ldn.ui.OrganizationPropertiesStep'
|
||||||
WHERE component='com.arsdigita.cms.contenttypes.ui.OrganizationPropertiesStep'
|
WHERE component='com.arsdigita.cms.contenttypes.ui.OrganizationPropertiesStep';
|
||||||
|
|
||||||
UPDATE acs_objects
|
UPDATE acs_objects
|
||||||
SET (object_type,default_domain_class) =
|
SET (object_type,default_domain_class) =
|
||||||
|
|
@ -65,4 +65,4 @@ UPDATE vcx_tags
|
||||||
WHERE tagged_oid LIKE '%contenttypes.Organization%';
|
WHERE tagged_oid LIKE '%contenttypes.Organization%';
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE ct_organization to ct_ldn_organization;
|
ALTER TABLE ct_organization RENAME TO ct_ldn_organization;
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
name="ScientificCMS"
|
name="ScientificCMS"
|
||||||
prettyName="Scientific CMS"
|
prettyName="Scientific CMS"
|
||||||
version="2.3.0"
|
version="2.3.0"
|
||||||
release="devel-SNAPSHOT-r2815"
|
release="devel-SNAPSHOT-r2816"
|
||||||
webxml="sci-web.xml"
|
webxml="sci-web.xml"
|
||||||
portletxml="sci-portlet.xml"
|
portletxml="sci-portlet.xml"
|
||||||
webapp="libreccm"
|
webapp="libreccm"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue