From 962021390d32a06b6f4c3b619924cfcb7de41fdd Mon Sep 17 00:00:00 2001 From: aushaniU Date: Thu, 29 Nov 2018 10:37:33 +0530 Subject: [PATCH] [HUBDEV-2270] remove spendlimit related db scripts --- .../src/main/resources/sql/mysql/dep_db.sql | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/features/com.wso2telco.dep.hub.core.feature/src/main/resources/sql/mysql/dep_db.sql b/features/com.wso2telco.dep.hub.core.feature/src/main/resources/sql/mysql/dep_db.sql index a2c5f4c89..d7dd81ef6 100644 --- a/features/com.wso2telco.dep.hub.core.feature/src/main/resources/sql/mysql/dep_db.sql +++ b/features/com.wso2telco.dep.hub.core.feature/src/main/resources/sql/mysql/dep_db.sql @@ -308,42 +308,6 @@ CREATE TABLE IF NOT EXISTS `mo_ussd_subscription` ( PRIMARY KEY (`mo_ussd_request_did`) ) ENGINE=InnoDB; -CREATE TABLE IF NOT EXISTS `mdtxmsgtype` ( - `msgtypedid` int(11) NOT NULL AUTO_INCREMENT, - `msgtype` varchar(45) NOT NULL, - PRIMARY KEY (`msgtypedid`), - UNIQUE KEY `msgtype_UNIQUE` (`msgtype`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `mdtrequestmessage` ( - `messegeId` int(11) NOT NULL AUTO_INCREMENT, - `msgtypeId` int(11) NOT NULL, - `mdtrequestId` varchar(45) DEFAULT NULL, - `internalclientrefcode` varchar(100) DEFAULT NULL, - `message` blob, - `clientrefcode` varchar(45) DEFAULT NULL, - `clientrefval` varchar(45) DEFAULT NULL, - `reportedtime` bigint(20) DEFAULT NULL, - PRIMARY KEY (`messegeId`), - KEY `fk_mdtrequestmessage_1_idx` (`msgtypeId`), - KEY `index_msgtypeId` (`msgtypeId`), - KEY `index_clientrefcode` (`clientrefcode`), - CONSTRAINT `fk_mdtrequestmessage_1` FOREIGN KEY (`msgtypeId`) REFERENCES `mdtxmsgtype` (`msgtypedid`) ON DELETE CASCADE ON UPDATE CASCADE -) ENGINE=InnoDB AUTO_INCREMENT=228911 DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `spendlimitdata` ( - `msgType` int(11) DEFAULT NULL, - `groupName` varchar(255) DEFAULT NULL, - `consumerKey` varchar(255) DEFAULT NULL, - `operatorId` varchar(255) DEFAULT NULL, - `msisdn` varchar(255) DEFAULT NULL, - `amount` decimal(40,15) NOT NULL, - `currentDateTime` bigint(20) DEFAULT NULL, - `effectiveTime` bigint(20) DEFAULT NULL, - KEY `index_msisdn` (`msisdn`), - KEY `index_msgType` (`msgType`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - CREATE TABLE IF NOT EXISTS `workflow_reference` ( `workflow_ref_id` varchar(255) NOT NULL, @@ -491,4 +455,4 @@ CREATE TABLE `operator_brands` ( `lastupdated_date` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `operatorcode` (`operatorcode`) -) ENGINE=InnoDB; \ No newline at end of file +) ENGINE=InnoDB;