Skip to content

Commit

Permalink
Merge pull request #485 from aushaniU/2.4.4-release
Browse files Browse the repository at this point in the history
[HUBDEV-2270] remove spendlimit related db scripts
  • Loading branch information
jaadds authored Nov 29, 2018
2 parents eb4d094 + 9620213 commit bb4e662
Showing 1 changed file with 1 addition and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -491,4 +455,4 @@ CREATE TABLE `operator_brands` (
`lastupdated_date` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `operatorcode` (`operatorcode`)
) ENGINE=InnoDB;
) ENGINE=InnoDB;

0 comments on commit bb4e662

Please sign in to comment.