From 0bc6988f9e6aa453722a97d91d275059c602cf15 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Wed, 19 Feb 2020 11:11:41 +0800 Subject: Add script to create OrchestrationTask table Issue-ID: SO-2368 Add SQL script to create OrchestrationTask table Change-Id: Ic59fe76a954c8808a32bb8f89eca3a933d559b02 Signed-off-by: Harry Huang --- .../db/migration/V8.1__Add_Orchestration_Task_Table.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.1__Add_Orchestration_Task_Table.sql (limited to 'adapters/mso-requests-db-adapter/src') diff --git a/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.1__Add_Orchestration_Task_Table.sql b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.1__Add_Orchestration_Task_Table.sql new file mode 100644 index 0000000000..0d7cb7a62b --- /dev/null +++ b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.1__Add_Orchestration_Task_Table.sql @@ -0,0 +1,12 @@ +USE `requestdb`; + +CREATE TABLE `orchestration_task` ( + `TASK_ID` varchar(200) NOT NULL, + `REQUEST_ID` varchar(200) NOT NULL, + `NAME` varchar(200) NOT NULL, + `CREATED_TIME` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, + `STATUS` varchar(200) NOT NULL, + `IS_MANUAL` varchar(20) NOT NULL, + `PARAMS` varchar(20000) DEFAULT NULL, + PRIMARY KEY (`TASK_ID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- cgit 1.2.3-korg