 /*!40000 ALTER TABLE `gender` DISABLE KEYS */;
 INSERT INTO `gender` VALUES (1,'male'),(2,'female');
 /*!40000 ALTER TABLE `gender` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `log`
+--
+
+DROP TABLE IF EXISTS `log`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `log` (
+  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `category_id` smallint(6) unsigned DEFAULT NULL,
+  `description` longtext,
+  `create_date` datetime DEFAULT NULL,
+  `user_id` int(10) unsigned NOT NULL,
+  `op_name` varchar(45) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  KEY `fk_log_1_idx` (`user_id`),
+  KEY `fk_log_category_idx` (`category_id`),
+  CONSTRAINT `fk_log_category_id` FOREIGN KEY (`category_id`) REFERENCES `log_category` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
+  CONSTRAINT `fk_log_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `log`
+--
+
+LOCK TABLES `log` WRITE;
+/*!40000 ALTER TABLE `log` DISABLE KEYS */;
+/*!40000 ALTER TABLE `log` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `log_category`
+--
+
+DROP TABLE IF EXISTS `log_category`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `log_category` (
+  `id` smallint(6) unsigned NOT NULL,
+  `name` varchar(45) NOT NULL,
+  `description` mediumtext,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `log_category`
+--
+
+LOCK TABLES `log_category` WRITE;
+/*!40000 ALTER TABLE `log_category` DISABLE KEYS */;
+/*!40000 ALTER TABLE `log_category` ENABLE KEYS */;
 UNLOCK TABLES;
 
 --

/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2015-10-12 17:47:15

/*!40000 ALTER TABLE `status` DISABLE KEYS */;
INSERT INTO `status` VALUES (1,'Active',1),(2,'Pending',2),(3,'Suspended',3);
/*!40000 ALTER TABLE `status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `status_message`
--

DROP TABLE IF EXISTS `status_message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `status_message` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `controller_name` varchar(105) NOT NULL,
  `action_name` varchar(105) NOT NULL,
  `status_message_name` varchar(105) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `body` longtext NOT NULL,
  `status_message_description` varchar(255) NOT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `status_message`
--

LOCK TABLES `status_message` WRITE;
/*!40000 ALTER TABLE `status_message` DISABLE KEYS */;
/*!40000 ALTER TABLE `status_message` ENABLE KEYS */;
UNLOCK TABLES;

--
