From 2444b8055e9b559bd738910fb3f3904f26f163b6 Mon Sep 17 00:00:00 2001 From: Thomas Risberg Date: Thu, 27 Oct 2016 15:23:44 -0400 Subject: [PATCH] Adding the new ERROR_MESSAGE and EXTERNAL_EXECUTION_ID columns for DB2 --- .../resources/org/springframework/cloud/task/schema-db2.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-db2.sql b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-db2.sql index 985724c6..7dd498e2 100644 --- a/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-db2.sql +++ b/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-db2.sql @@ -6,7 +6,9 @@ CREATE TABLE TASK_EXECUTION ( TASK_NAME VARCHAR(100) , EXIT_CODE INTEGER , EXIT_MESSAGE VARCHAR(2500) , - LAST_UPDATED TIMESTAMP + ERROR_MESSAGE VARCHAR(2500) , + LAST_UPDATED TIMESTAMP, + EXTERNAL_EXECUTION_ID VARCHAR(255) ); CREATE TABLE TASK_EXECUTION_PARAMS (