summaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter/src/main/resources/db
diff options
context:
space:
mode:
authorMarcus Williams <marcus.williams@intel.com>2018-08-24 20:05:47 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-24 20:05:47 +0000
commit8894d0ba0209034e6db8e6f046e515ca90bc4550 (patch)
tree9f541b2869d9f98e1827216ee3c448d1bf4c0a57 /adapters/mso-catalog-db-adapter/src/main/resources/db
parent581e8f851a163fca42a1bf3175afa5707a0677fe (diff)
parent474b1758321deae0e9730de6d2b7d10434c46d69 (diff)
Merge "Created Ref Data tbl for controllerSelection"
Diffstat (limited to 'adapters/mso-catalog-db-adapter/src/main/resources/db')
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V4.4__CreateTableControllerSelectionRefence.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V4.4__CreateTableControllerSelectionRefence.sql b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V4.4__CreateTableControllerSelectionRefence.sql
new file mode 100644
index 0000000000..dbeba53acc
--- /dev/null
+++ b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/V4.4__CreateTableControllerSelectionRefence.sql
@@ -0,0 +1,8 @@
+use catalogdb;
+
+CREATE TABLE IF NOT EXISTS `controller_selection_reference` (
+ `VNF_TYPE` VARCHAR(50) NOT NULL,
+ `CONTROLLER_NAME` VARCHAR(100) NOT NULL,
+ `ACTION_CATEGORY` VARCHAR(15) NOT NULL,
+ PRIMARY KEY (`VNF_TYPE`, `CONTROLLER_NAME`, `ACTION_CATEGORY`)
+ ) ENGINE = InnoDB DEFAULT CHARSET=latin1;