summaryrefslogtreecommitdiffstats
path: root/adapters/mso-requests-db-adapter/src/main/resources/db/migration
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-02-24 14:11:56 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-24 14:11:56 +0000
commitf31615ead318cdc18e31dcfaef993ae5362992c2 (patch)
tree982f8e595eb98ebd400adf6700fc6976f0facb29 /adapters/mso-requests-db-adapter/src/main/resources/db/migration
parentc93b56fc1c4e8dc8d3e39c63caf5d17b3ce28b1e (diff)
parent088deea64dd65f9de66a38df32e459518983ccbf (diff)
Merge "mso to add tenant name and product family name to"
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/V7.3__Add_Columns_Tenant_Name_Product_Family_Name.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V7.3__Add_Columns_Tenant_Name_Product_Family_Name.sql b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V7.3__Add_Columns_Tenant_Name_Product_Family_Name.sql
new file mode 100644
index 0000000000..a79b1a86c1
--- /dev/null
+++ b/adapters/mso-requests-db-adapter/src/main/resources/db/migration/V7.3__Add_Columns_Tenant_Name_Product_Family_Name.sql
@@ -0,0 +1,7 @@
+use requestdb;
+
+ALTER TABLE infra_active_requests ADD COLUMN IF NOT EXISTS TENANT_NAME varchar(200);
+ALTER TABLE archived_infra_requests ADD COLUMN IF NOT EXISTS TENANT_NAME varchar(200);
+
+ALTER TABLE infra_active_requests ADD COLUMN IF NOT EXISTS PRODUCT_FAMILY_NAME varchar(200);
+ALTER TABLE archived_infra_requests ADD COLUMN IF NOT EXISTS PRODUCT_FAMILY_NAME varchar(200); \ No newline at end of file