diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-h2.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-h2.sql index 3a464c08..fb20ad43 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-h2.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-h2.sql @@ -1,2 +1,4 @@ +/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add +the ERROR_MESSAGE column. */ alter table task_execution add ERROR_MESSAGE VARCHAR(2500); alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255); diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-hsqldb.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-hsqldb.sql index f1f6595e..fb20ad43 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-hsqldb.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-hsqldb.sql @@ -1,2 +1,4 @@ -alter table task_execution add column ERROR_MESSAGE VARCHAR(2500); +/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add +the ERROR_MESSAGE column. */ +alter table task_execution add ERROR_MESSAGE VARCHAR(2500); alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255); diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-mysql.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-mysql.sql index f9e62fa3..943ac2ec 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-mysql.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-mysql.sql @@ -1,3 +1,5 @@ -alter table task_execution add column ERROR_MESSAGE VARCHAR(2500); +/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add +the ERROR_MESSAGE column. */ +alter table task_execution add ERROR_MESSAGE VARCHAR(2500); alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255); diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-oracle.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-oracle.sql index f659bea1..8dd56fed 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-oracle.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-oracle.sql @@ -1,3 +1,5 @@ +/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add +the ERROR_MESSAGE column. */ alter table task_execution add ERROR_MESSAGE varchar2(2500); alter table task_execution add EXTERNAL_EXECUTION_ID varchar2(255); diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-postgresql.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-postgresql.sql index f1f6595e..fb20ad43 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-postgresql.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-postgresql.sql @@ -1,2 +1,4 @@ -alter table task_execution add column ERROR_MESSAGE VARCHAR(2500); +/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add +the ERROR_MESSAGE column. */ +alter table task_execution add ERROR_MESSAGE VARCHAR(2500); alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255); diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-sqlserver.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-sqlserver.sql index 3a464c08..fb20ad43 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-sqlserver.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/migration/migration-sqlserver.sql @@ -1,2 +1,4 @@ +/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add +the ERROR_MESSAGE column. */ alter table task_execution add ERROR_MESSAGE VARCHAR(2500); alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);