mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +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:
@@ -981,7 +981,7 @@
|
||||
</column>
|
||||
<column name="DEPLOY_TIME_" order="5">
|
||||
<type>timestamp</type>
|
||||
<nullable>false</nullable>
|
||||
<nullable>true</nullable>
|
||||
<autoincrement>false</autoincrement>
|
||||
</column>
|
||||
</columns>
|
||||
@@ -1676,7 +1676,7 @@
|
||||
</column>
|
||||
<column name="CREATE_TIME_" order="14">
|
||||
<type>timestamp</type>
|
||||
<nullable>false</nullable>
|
||||
<nullable>true</nullable>
|
||||
<autoincrement>false</autoincrement>
|
||||
</column>
|
||||
<column name="DUE_DATE_" order="15">
|
||||
|
@@ -87,6 +87,7 @@
|
||||
<ref bean="patch.db-V5.0-upgrade-to-activiti-5.16.2" />
|
||||
<ref bean="patch.db-V5.0-upgrade-to-activiti-5.16.4" />
|
||||
<ref bean="patch.db-V5.0-remove-columns-after-upgrade-to-activiti-5.16.2" />
|
||||
<ref bean="patch.db-V5.0-update-activiti-default-timestamp-column" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
@@ -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