# ************************************************************ # Sequel Pro SQL dump # Version 4096 # # http://www.sequelpro.com/ # http://code.google.com/p/sequel-pro/ # # Host: 127.0.0.1 (MySQL 5.6.15) # Database: orange_test # Generation Time: 2016-11-13 14:48:35 +0000 # ************************************************************ /*!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 */; /*!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 */; # Dump of table basic_auth # ------------------------------------------------------------ DROP TABLE IF EXISTS `basic_auth`; CREATE TABLE `basic_auth` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `basic_auth` WRITE; /*!40000 ALTER TABLE `basic_auth` DISABLE KEYS */; INSERT INTO `basic_auth` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `basic_auth` ENABLE KEYS */; UNLOCK TABLES; # Dump of table dashboard_user # ------------------------------------------------------------ DROP TABLE IF EXISTS `dashboard_user`; CREATE TABLE `dashboard_user` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(60) NOT NULL DEFAULT '' COMMENT '用户名', `password` varchar(255) NOT NULL DEFAULT '' COMMENT '密码', `is_admin` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否是管理员账户:0否,1是', `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建或者更新时间', `enable` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否启用该用户:0否1是', PRIMARY KEY (`id`), UNIQUE KEY `unique_username` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='dashboard users'; LOCK TABLES `dashboard_user` WRITE; /*!40000 ALTER TABLE `dashboard_user` DISABLE KEYS */; INSERT INTO `dashboard_user` (`id`, `username`, `password`, `is_admin`, `create_time`, `enable`) VALUES (1,'admin','1fe832a7246fd19b7ea400a10d23d1894edfa3a5e09ee27e0c4a96eb0136763d',1,'2016-11-11 11:11:11',1); /*!40000 ALTER TABLE `dashboard_user` ENABLE KEYS */; UNLOCK TABLES; # Dump of table divide # ------------------------------------------------------------ DROP TABLE IF EXISTS `divide`; CREATE TABLE `divide` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `divide` WRITE; /*!40000 ALTER TABLE `divide` DISABLE KEYS */; INSERT INTO `divide` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `divide` ENABLE KEYS */; UNLOCK TABLES; # Dump of table key_auth # ------------------------------------------------------------ DROP TABLE IF EXISTS `key_auth`; CREATE TABLE `key_auth` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `key_auth` WRITE; /*!40000 ALTER TABLE `key_auth` DISABLE KEYS */; INSERT INTO `key_auth` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `key_auth` ENABLE KEYS */; UNLOCK TABLES; # Dump of table meta # ------------------------------------------------------------ DROP TABLE IF EXISTS `meta`; CREATE TABLE `meta` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(5000) NOT NULL DEFAULT '', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table monitor # ------------------------------------------------------------ DROP TABLE IF EXISTS `monitor`; CREATE TABLE `monitor` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `monitor` WRITE; /*!40000 ALTER TABLE `monitor` DISABLE KEYS */; INSERT INTO `monitor` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `monitor` ENABLE KEYS */; UNLOCK TABLES; # Dump of table rate_limiting # ------------------------------------------------------------ DROP TABLE IF EXISTS `rate_limiting`; CREATE TABLE `rate_limiting` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `rate_limiting` WRITE; /*!40000 ALTER TABLE `rate_limiting` DISABLE KEYS */; INSERT INTO `rate_limiting` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `rate_limiting` ENABLE KEYS */; UNLOCK TABLES; # Dump of table redirect # ------------------------------------------------------------ DROP TABLE IF EXISTS `redirect`; CREATE TABLE `redirect` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `redirect` WRITE; /*!40000 ALTER TABLE `redirect` DISABLE KEYS */; INSERT INTO `redirect` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `redirect` ENABLE KEYS */; UNLOCK TABLES; # Dump of table rewrite # ------------------------------------------------------------ DROP TABLE IF EXISTS `rewrite`; CREATE TABLE `rewrite` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `rewrite` WRITE; /*!40000 ALTER TABLE `rewrite` DISABLE KEYS */; INSERT INTO `rewrite` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `rewrite` ENABLE KEYS */; UNLOCK TABLES; # Dump of table waf # ------------------------------------------------------------ DROP TABLE IF EXISTS `waf`; CREATE TABLE `waf` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(255) NOT NULL DEFAULT '', `value` varchar(2000) NOT NULL DEFAULT '', `type` varchar(11) DEFAULT '0', `op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `unique_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `waf` WRITE; /*!40000 ALTER TABLE `waf` DISABLE KEYS */; INSERT INTO `waf` (`id`, `key`, `value`, `type`, `op_time`) VALUES (1,'1','{}','meta','2016-11-11 11:11:11'); /*!40000 ALTER TABLE `waf` ENABLE KEYS */; UNLOCK TABLES; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;