-- MySQL dump 10.13 Distrib 5.1.47, for unknown-linux-gnu (x86_64) -- -- Host: localhost Database: test -- ------------------------------------------------------ -- Server version 5.1.47-community-log /*!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 `customer_event` -- DROP TABLE IF EXISTS `customer_event`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `customer_event` ( `event_id` bigint(20) unsigned NOT NULL COMMENT 'primary key of customer event. references back to supertype pk', `country_code` varchar(3) DEFAULT NULL COMMENT 'international dialing code', `short_code` varchar(8) NOT NULL COMMENT 'short code for event', `response_code` smallint(6) DEFAULT NULL COMMENT 'response code returned to the caller', `message` varchar(50) DEFAULT NULL COMMENT 'message from customer', PRIMARY KEY (`event_id`), CONSTRAINT `customer_event_fk` FOREIGN KEY (`event_id`) REFERENCES `event` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `customer_event` -- LOCK TABLES `customer_event` WRITE; /*!40000 ALTER TABLE `customer_event` DISABLE KEYS */; INSERT INTO `customer_event` VALUES (259636176,'1','00000',0,NULL),(259636181,'1','00000',2022,NULL),(259636185,'1','00000',2030,NULL),(259636190,'1','00000',2022,NULL),(259636192,'1','00000',0,NULL),(259636193,'1','00000',2022,NULL),(259636197,'1','00000',0,NULL),(259636198,'1','00000',0,NULL),(259636199,'1','00000',4020,NULL),(259636204,'1','00000',2011,NULL); /*!40000 ALTER TABLE `customer_event` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `event` -- DROP TABLE IF EXISTS `event`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `event` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'artificial primary key', `processing_start_date` datetime NOT NULL COMMENT 'time service started processing event', `created_date` datetime NOT NULL COMMENT 'time row was created', `last_updated_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT 'last time data in row changed', PRIMARY KEY (`id`), KEY `event_created_date_idx` (`created_date`), KEY `event_last_updated_date_idx` (`last_updated_date`) ) ENGINE=InnoDB AUTO_INCREMENT=259636205 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `event` -- LOCK TABLES `event` WRITE; /*!40000 ALTER TABLE `event` DISABLE KEYS */; INSERT INTO `event` VALUES (259636175,'2010-07-12 00:00:00','2010-07-12 00:00:00','2010-07-12 22:14:24'),(259636176,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636177,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636178,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636179,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636180,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636181,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636182,'2010-07-12 00:00:02','2010-07-12 00:00:02','2010-07-12 22:14:24'),(259636183,'2010-07-11 23:59:58','2010-07-11 23:59:58','2010-07-12 22:14:24'),(259636184,'2010-07-11 23:59:59','2010-07-11 23:59:59','2010-07-12 22:14:24'),(259636185,'2010-07-12 00:00:02','2010-07-12 00:00:02','2010-07-12 22:14:24'),(259636186,'2010-07-12 00:00:03','2010-07-12 00:00:03','2010-07-12 22:14:24'),(259636187,'2010-07-12 00:00:01','2010-07-12 00:00:01','2010-07-12 22:14:24'),(259636188,'2010-07-12 00:00:02','2010-07-12 00:00:02','2010-07-12 22:14:24'),(259636189,'2010-07-12 00:00:02','2010-07-12 00:00:02','2010-07-12 22:14:24'),(259636190,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636191,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636192,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636193,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636194,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636195,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636196,'2010-07-12 00:00:04','2010-07-12 00:00:04','2010-07-12 22:14:24'),(259636197,'2010-07-12 00:00:05','2010-07-12 00:00:05','2010-07-12 22:14:24'),(259636198,'2010-07-12 00:00:05','2010-07-12 00:00:05','2010-07-12 22:14:24'),(259636199,'2010-07-12 00:00:05','2010-07-12 00:00:05','2010-07-12 22:14:24'),(259636200,'2010-07-12 00:00:05','2010-07-12 00:00:05','2010-07-12 22:14:24'),(259636201,'2010-07-12 00:00:05','2010-07-12 00:00:05','2010-07-12 22:14:24'),(259636202,'2010-07-12 00:00:06','2010-07-12 00:00:06','2010-07-12 22:14:24'),(259636203,'2010-07-12 00:00:05','2010-07-12 00:00:05','2010-07-12 22:14:24'),(259636204,'2010-07-12 00:00:07','2010-07-12 00:00:07','2010-07-12 22:14:24'); /*!40000 ALTER TABLE `event` 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 2010-07-12 18:41:41