mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
62624: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3) 62622: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2) 62613: Merged DEV to V4.2.1 (4.2.1) 62549: MNT-10646 : DB2 & MSSQL: Unexpected index found in database after upgrade 4.1.7.3 to 4.2.1 Added patches to remove old indexes in Activiti brought from 4.0 (MNT-9533) for DB2 and MS SQL Server. Fixed Activiti upgrade patch for 13 version for MS SQL Server. 62612: MNT-10646 : DB2 & MSSQL: Unexpected index found in database after upgrade 4.1.7.3 to 4.2.1 Added the patch to all the DBs. Reverted increase of schema from the previous commit. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
36 lines
1.5 KiB
SQL
36 lines
1.5 KiB
SQL
--
|
|
-- Title: Delete unnecessary indexes add with older version of Activiti in 4.0 branch
|
|
-- Database: PostgreSQL
|
|
-- Since: V4.2 Schema 6053
|
|
-- Author: Alex Mukha
|
|
--
|
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
|
--
|
|
-- MNT-10646 : DB2 & MSSQL: Unexpected index found in database after upgrade 4.1.7.3 to 4.2.1
|
|
|
|
DROP index ACT_IDX_VARIABLE_BA; --(optional)
|
|
DROP index ACT_IDX_VARIABLE_EXEC; --(optional)
|
|
DROP index ACT_IDX_VARIABLE_PROCINST; --(optional)
|
|
DROP index ACT_IDX_TASK_EXEC; --(optional)
|
|
DROP index ACT_IDX_TASK_PROC_DEF_ID; --(optional)
|
|
DROP index ACT_IDX_TASK_PROCINST; --(optional)
|
|
DROP index ACT_IDX_JOB_EXCEPTION_STACK_ID; --(optional)
|
|
DROP index ACT_IDX_IDENT_LNK_TASK; --(optional)
|
|
DROP index ACT_IDX_EXECUTION_PARENT; --(optional)
|
|
DROP index ACT_IDX_EXECUTION_SUPER; --(optional)
|
|
DROP index ACT_IDX_MEMBERSHIP_GROUP ; --(optional)
|
|
DROP index ACT_IDX_MEMBERSHIP_USER; --(optional)
|
|
DROP index ACT_IDX_BYTEARRAY_; --(optional)
|
|
|
|
--
|
|
-- Record script finish
|
|
--
|
|
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-V4.2-remove-old-index-act', 'Manually executed script upgrade V4.2: Delete unnecessary indexes add with older version of Activiti in 4.0 branch',
|
|
0, 6027, -1, 6028, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed'
|
|
);
|
|
|