ACE-3188 : Incorporate Activiti 5.16.4: New index added: act_hi_varinst.act_idx_hi_procvar_task_id

- Added update scripts for activiti 5.16.4.
   - Updated schema reference files.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Pavel Yurke
2014-10-20 08:33:01 +00:00
parent 5c3fad3498
commit 4e9f076a19
17 changed files with 71 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.alfresco.org/repo/db-schema db-schema.xsd" xsi:schemaLocation="http://www.alfresco.org/repo/db-schema db-schema.xsd"
name="" dbprefix="act_" name="" dbprefix="act_"
version="8004" version="8009"
tablecolumnorder="false"> tablecolumnorder="false">
<validators> <validators>
<validator class="org.alfresco.util.schemacomp.validator.NameValidator"> <validator class="org.alfresco.util.schemacomp.validator.NameValidator">
@@ -783,6 +783,11 @@
<columnname>VAR_TYPE_</columnname> <columnname>VAR_TYPE_</columnname>
</columnnames> </columnnames>
</index> </index>
<index name="ACT_IDX_HI_PROCVAR_TASK_ID" unique="false">
<columnnames>
<columnname>TASK_ID_</columnname>
</columnnames>
</index>
</indexes> </indexes>
</table> </table>
<table name="act_id_group"> <table name="act_id_group">

View File

@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.alfresco.org/repo/db-schema db-schema.xsd" xsi:schemaLocation="http://www.alfresco.org/repo/db-schema db-schema.xsd"
name="" dbprefix="act_" name="" dbprefix="act_"
version="8004" version="8009"
tablecolumnorder="false"> tablecolumnorder="false">
<validators> <validators>
<validator class="org.alfresco.util.schemacomp.validator.NameValidator"> <validator class="org.alfresco.util.schemacomp.validator.NameValidator">
@@ -855,6 +855,11 @@
<columnname>proc_inst_id_</columnname> <columnname>proc_inst_id_</columnname>
</columnnames> </columnnames>
</index> </index>
<index name="act_idx_hi_procvar_task_id" unique="false">
<columnnames>
<columnname>task_id_</columnname>
</columnnames>
</index>
</indexes> </indexes>
</table> </table>
<table name="act_id_group"> <table name="act_id_group">

View File

@@ -81,6 +81,7 @@
<ref bean="patch.db-V4.2-remove-old-index-act" /> <ref bean="patch.db-V4.2-remove-old-index-act" />
<ref bean="patch.db-V4.2-upgrade-to-activiti-5.13" /> <ref bean="patch.db-V4.2-upgrade-to-activiti-5.13" />
<ref bean="patch.db-V5.0-upgrade-to-activiti-5.16.2" /> <ref bean="patch.db-V5.0-upgrade-to-activiti-5.16.2" />
<ref bean="patch.db-V5.0-upgrade-to-activiti-5.16.4" />
</list> </list>
</property> </property>
</bean> </bean>

View File

@@ -0,0 +1,24 @@
--
-- Title: Upgraded Activiti tables from 5.16.2 to 5.16.4 version
-- Database: Generic
-- Since: V5.0 Schema 8009
-- Author: Pavel Yurkevich
--
-- Please contact support@alfresco.com if you need assistance with the upgrade.
--
update ACT_GE_PROPERTY set VALUE_ = '5.16.4.0' where NAME_ = 'schema.version';
create index ACT_IDX_HI_PROCVAR_TASK_ID on ACT_HI_VARINST(TASK_ID_);
--
-- Record script finish
--
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V5.0-upgrade-to-activiti-5.16.4';
INSERT INTO alf_applied_patch
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
VALUES
(
'patch.db-V5.0-upgrade-to-activiti-5.16.4', 'Manually executed script upgrade V5.0: Upgraded Activiti tables to 5.16.4 version',
0, 8008, -1, 8009, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed'
);

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -345,3 +345,5 @@ patch.db-V5.0-upgrade-to-activiti-5.16.2.result=Activiti tables updated
patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary patch.solrFacets.root.description=Creates the solr facets root folder in the Data Dictionary
patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows patch.eol-wcmwf.description=Undeploys deprecated WCMWF Workflows
patch.db-V5.0-upgrade-to-activiti-5.16.4.description=Update Activiti tables from 5.16.2 to 5.16.4

View File

@@ -1095,4 +1095,15 @@
</property> </property>
</bean> </bean>
<bean id="patch.db-V5.0-upgrade-to-activiti-5.16.4" class="org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch" parent="basePatch">
<property name="id" value="patch.db-V5.0-upgrade-to-activiti-5.16.4" />
<property name="description" value="patch.db-V5.0-upgrade-to-activiti-5.16.4.description" />
<property name="fixesFromSchema" value="0" />
<property name="fixesToSchema" value="8008" />
<property name="targetSchema" value="8009" />
<property name="scriptUrl">
<value>classpath:alfresco/dbscripts/upgrade/5.0/${db.script.dialect}/activiti-upgrade-5-16-4.sql</value>
</property>
</bean>
</beans> </beans>

View File

@@ -23,4 +23,4 @@ version.build=r@scm-revision@-b@build-number@
# Schema number # Schema number
version.schema=8008 version.schema=8009