aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-requests-db-adapter/src/main/resources/db/migration
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-04-07 21:08:33 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-07 21:08:33 +0000
commit0d83c850f71845a54fcf5f2aa13d24fc99c8dd62 (patch)
treeebbf9a9b5a686a78f7d9e38f5e06752945352163 /adapters/mso-requests-db-adapter/src/main/resources/db/migration
parentf5e4cbd3128aaf05c59a4ae2a32d7d4435245556 (diff)
parent654db79e01a20632cf1d7c3c6a786160aaa82eed (diff)
Merge "Add workflowName and operationName to v8 of"
Diffstat (limited to 'adapters/mso-requests-db-adapter/src/main/resources/db/migration')
-rw-r--r--adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.3__Add_Columns_Workflow_Name_Operation_Name.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.3__Add_Columns_Workflow_Name_Operation_Name.sql b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.3__Add_Columns_Workflow_Name_Operation_Name.sql
new file mode 100644
index 0000000000..d493bc01ac
--- /dev/null
+++ b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V8.3__Add_Columns_Workflow_Name_Operation_Name.sql
@@ -0,0 +1,7 @@
+use requestdb;
+
+ALTER TABLE infra_active_requests ADD COLUMN IF NOT EXISTS WORKFLOW_NAME varchar(200);
+ALTER TABLE archived_infra_requests ADD COLUMN IF NOT EXISTS WORKFLOW_NAME varchar(200);
+
+ALTER TABLE infra_active_requests ADD COLUMN IF NOT EXISTS OPERATION_NAME varchar(200);
+ALTER TABLE archived_infra_requests ADD COLUMN IF NOT EXISTS OPERATION_NAME varchar(200); \ No newline at end of file