From 26fda68fedf439c6fad8352cfcd2d04522b1ff23 Mon Sep 17 00:00:00 2001 From: "Plummer, Brittany" Date: Mon, 20 May 2019 16:03:09 -0400 Subject: Added script for adding original_request_id column Added IF NOT EXISTS clause to ADD COLUMN Added script for adding original_request_id column Change-Id: I816d260c60fb5473a9ffb11fa36c49a3493e8e72 Issue-ID: SO-1902 Signed-off-by: Benjamin, Max (mb388a) --- .../resources/db/migration/V5.8__Add_Column_Original_Request_Id.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 adapters/mso-requests-db-adapter/src/main/resources/db/migration/V5.8__Add_Column_Original_Request_Id.sql (limited to 'adapters/mso-requests-db-adapter/src') diff --git a/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V5.8__Add_Column_Original_Request_Id.sql b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V5.8__Add_Column_Original_Request_Id.sql new file mode 100644 index 0000000000..54c3c8af60 --- /dev/null +++ b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V5.8__Add_Column_Original_Request_Id.sql @@ -0,0 +1,4 @@ +use requestdb; + +ALTER TABLE infra_active_requests ADD COLUMN IF NOT EXISTS ORIGINAL_REQUEST_ID varchar(45); +ALTER TABLE archived_infra_requests ADD COLUMN IF NOT EXISTS ORIGINAL_REQUEST_ID varchar(45); \ No newline at end of file -- cgit 1.2.3-korg