Blame | Last modification | View Log | RSS feed
-- MySQL dump 10.13 Distrib 5.1.41, for debian-linux-gnu (i486)---- Host: localhost Database: payment_test-- -------------------------------------------------------- Server version 5.1.41-3ubuntu12.10/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;/*!40101 SET NAMES utf8 */;/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;/*!40103 SET TIME_ZONE='+00:00' */;/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;---- Table structure for table `gatewayattribute`--DROP TABLE IF EXISTS `gatewayattribute`;/*!40101 SET @saved_cs_client = @@character_set_client */;/*!40101 SET character_set_client = utf8 */;CREATE TABLE `gatewayattribute` (`payment_gateway_id` int(11) NOT NULL,`name` varchar(50) NOT NULL,`value` varchar(100) DEFAULT NULL,PRIMARY KEY (`payment_gateway_id`,`name`),KEY `ix_gatewayattribute_payment_gateway_id` (`payment_gateway_id`),CONSTRAINT `gatewayattribute_payment_gateway_id_fk` FOREIGN KEY (`payment_gateway_id`) REFERENCES `paymentgateway` (`id`)) ENGINE=InnoDB DEFAULT CHARSET=latin1;/*!40101 SET character_set_client = @saved_cs_client */;---- Dumping data for table `gatewayattribute`--LOCK TABLES `gatewayattribute` WRITE;/*!40000 ALTER TABLE `gatewayattribute` DISABLE KEYS */;/*!40000 ALTER TABLE `gatewayattribute` ENABLE KEYS */;UNLOCK TABLES;---- Table structure for table `payment`--DROP TABLE IF EXISTS `payment`;/*!40101 SET @saved_cs_client = @@character_set_client */;/*!40101 SET character_set_client = utf8 */;CREATE TABLE `payment` (`id` int(11) NOT NULL AUTO_INCREMENT,`gatewayId` int(11) DEFAULT NULL,`gatewayPaymentId` varchar(50) DEFAULT NULL,`merchantTxnId` int(11) DEFAULT NULL,`gatewayTxnId` varchar(50) DEFAULT NULL,`amount` float DEFAULT NULL,`gatewayTxnStatus` varchar(20) DEFAULT NULL,`status` int(11) DEFAULT NULL,`userId` int(11) DEFAULT NULL,`errorCode` varchar(20) DEFAULT NULL,`description` varchar(200) DEFAULT NULL,`authCode` varchar(20) DEFAULT NULL,`referenceCode` varchar(20) DEFAULT NULL,`sessionId` varchar(50) DEFAULT NULL,`gatewayTxnDate` varchar(50) DEFAULT NULL,`initTimestamp` datetime DEFAULT NULL,`successTimestamp` datetime DEFAULT NULL,`errorTimestamp` datetime DEFAULT NULL,PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=latin1;/*!40101 SET character_set_client = @saved_cs_client */;---- Dumping data for table `payment`--LOCK TABLES `payment` WRITE;/*!40000 ALTER TABLE `payment` DISABLE KEYS */;/*!40000 ALTER TABLE `payment` ENABLE KEYS */;UNLOCK TABLES;---- Table structure for table `paymentattribute`--DROP TABLE IF EXISTS `paymentattribute`;/*!40101 SET @saved_cs_client = @@character_set_client */;/*!40101 SET character_set_client = utf8 */;CREATE TABLE `paymentattribute` (`payment_id` int(11) NOT NULL,`name` varchar(50) NOT NULL,`value` varchar(250) DEFAULT NULL,PRIMARY KEY (`payment_id`,`name`),KEY `ix_paymentattribute_payment_id` (`payment_id`),CONSTRAINT `paymentattribute_payment_id_fk` FOREIGN KEY (`payment_id`) REFERENCES `payment` (`id`)) ENGINE=InnoDB DEFAULT CHARSET=latin1;/*!40101 SET character_set_client = @saved_cs_client */;---- Dumping data for table `paymentattribute`--LOCK TABLES `paymentattribute` WRITE;/*!40000 ALTER TABLE `paymentattribute` DISABLE KEYS */;/*!40000 ALTER TABLE `paymentattribute` ENABLE KEYS */;UNLOCK TABLES;---- Table structure for table `paymentgateway`--DROP TABLE IF EXISTS `paymentgateway`;/*!40101 SET @saved_cs_client = @@character_set_client */;/*!40101 SET character_set_client = utf8 */;CREATE TABLE `paymentgateway` (`id` int(11) NOT NULL AUTO_INCREMENT,`name` varchar(100) DEFAULT NULL,`aliasName` varchar(100) DEFAULT NULL,`url` varchar(500) DEFAULT NULL,`responseUrl` varchar(500) DEFAULT NULL,`errorUrl` varchar(500) DEFAULT NULL,`status` int(11) DEFAULT NULL,`addedOn` datetime DEFAULT NULL,PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=latin1;/*!40101 SET character_set_client = @saved_cs_client */;---- Dumping data for table `paymentgateway`--LOCK TABLES `paymentgateway` WRITE;/*!40000 ALTER TABLE `paymentgateway` DISABLE KEYS */;/*!40000 ALTER TABLE `paymentgateway` ENABLE KEYS */;UNLOCK TABLES;/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;-- Dump completed on 2011-08-10 17:17:15