mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
116309 adavis: Merged 5.0.2-CLOUD (Cloud ) to 5.0.N (5.0.3) 116304 adavis: Merged 5.0.2-PLUS (5.0.2-PLUS) to 5.0.2-CLOUD (Cloud ) 116108 rneamtu: Merged NESS/5.0.2-PLUS-2015-10-28/ (5.0.2.-PLUS) to 5.0.2-PLUS (5.0.2.-PLUS) 116088: MNT-15062 : [Cloud 40] Unexpected differences are returned after schema bootstrap (clean start) - Set timestamp default null for columns of this type, for mysql dialect git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@116392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
--
|
||||
-- Title: Update Activiti tables ACT_RE_DEPLOYMENT and ACT_RU_TASK with default timestamp value with NULL
|
||||
-- Database: Generic
|
||||
-- Since: V5.0 Schema 8034
|
||||
-- Author: Ramona Popa
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
|
||||
-- Record script finish
|
||||
--
|
||||
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V5.0-update-activiti-default-timestamp-column';
|
||||
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-update-activiti-default-timestamp-column', 'Manually executed script upgrade V5.0: Upgraded Activiti tables ACT_RE_DEPLOYMENT and ACT_RU_TASK for default timestamp value with NULL',
|
||||
0, 8033, -1, 8034, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed'
|
||||
);
|
@@ -0,0 +1,26 @@
|
||||
--
|
||||
-- Title: Update Activiti tables ACT_RE_DEPLOYMENT and ACT_RU_TASK with default timestamp value with NULL
|
||||
-- Database: MySQL InnoDB
|
||||
-- Since: V5.0 Schema 8034
|
||||
-- Author: Ramona Popa
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
|
||||
alter table ACT_RE_DEPLOYMENT
|
||||
MODIFY DEPLOY_TIME_ timestamp null;
|
||||
|
||||
alter table ACT_RU_TASK
|
||||
MODIFY CREATE_TIME_ timestamp null;
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
--
|
||||
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V5.0-update-activiti-default-timestamp-column';
|
||||
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-update-activiti-default-timestamp-column', 'Manually executed script upgrade V5.0: Upgraded Activiti tables ACT_RE_DEPLOYMENT and ACT_RU_TASK for default timestamp value with NULL',
|
||||
0, 8033, -1, 8034, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed'
|
||||
);
|
Reference in New Issue
Block a user