diff options
Diffstat (limited to 'packages/base/src/files')
-rw-r--r-- | packages/base/src/files/install/mysql/data/190202_downgrade_script.sql | 4 | ||||
-rw-r--r-- | packages/base/src/files/install/mysql/data/190202_upgrade_script.sql | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/packages/base/src/files/install/mysql/data/190202_downgrade_script.sql b/packages/base/src/files/install/mysql/data/190202_downgrade_script.sql index 2c0917428..d1ecebf04 100644 --- a/packages/base/src/files/install/mysql/data/190202_downgrade_script.sql +++ b/packages/base/src/files/install/mysql/data/190202_downgrade_script.sql @@ -17,4 +17,6 @@ -- ============LICENSE_END========================================================= use onap_sdk; -drop table if exists policyAuditlog;
\ No newline at end of file +drop table if exists policyAuditlog; +drop table if exists dictionaryData; + diff --git a/packages/base/src/files/install/mysql/data/190202_upgrade_script.sql b/packages/base/src/files/install/mysql/data/190202_upgrade_script.sql index 2b44c331f..f92da8d81 100644 --- a/packages/base/src/files/install/mysql/data/190202_upgrade_script.sql +++ b/packages/base/src/files/install/mysql/data/190202_upgrade_script.sql @@ -24,4 +24,21 @@ CREATE TABLE policyAuditlog ( actions varchar(50) NOT NULL, dateAndTime datetime NOT NULL, PRIMARY KEY (id) -);
\ No newline at end of file +); + +ALTER TABLE microservicemodels +ADD ruleFormation VARCHAR(45) DEFAULT NULL; + +CREATE TABLE `onap_sdk`.`dictionaryData` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `dictionaryName` varchar(64) NOT NULL, + `dictionaryUrl` varchar(64) NOT NULL, + `dictionaryDataByName` varchar(64) NOT NULL, + PRIMARY KEY (`id`) + ); + +INSERT INTO dictionaryData (dictionaryName, dictionaryUrl, dictionaryDataByName) +VALUES ('GocVNFType', 'getDictionary/get_GocVnfTypeDataByName', 'gocVnfTypeDictionaryDatas'), +('ServerScope','getDictionary/get_ServerScopeDataByName','gocServerScopeDictionaryDatas'), +('TraversalData', 'getDictionary/get_TraversalDataByName', 'gocTraversalDictionaryDatas'); + |