Ant Design Demo SQL

-- MySQL dump 10.13  Distrib 5.7.22, for Linux (x86_64)
--
-- Host: localhost    Database: antdlib
-- ------------------------------------------------------
-- Server version	5.7.22

/*!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 `exception`
--

DROP TABLE IF EXISTS `exception`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `exception` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `account` varchar(100) DEFAULT NULL,
  `time` varchar(50) DEFAULT NULL,
  `url` varchar(100) DEFAULT NULL,
  `httpstatus` varchar(50) DEFAULT NULL,
  `returnCode` varchar(10) DEFAULT NULL,
  `returnMsg` text,
  `stackTrace` text,
  `param` text,
  `levelid` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `exception`
--

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

--
-- Table structure for table `menu`
--

DROP TABLE IF EXISTS `menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `menu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `path` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `icon` varchar(20) DEFAULT NULL,
  `component` varchar(100) DEFAULT NULL,
  `redirect` varchar(100) DEFAULT NULL,
  `parentid` int(11) NOT NULL,
  `isoper` int(11) DEFAULT '0',
  `hideInMenu` tinyint(1) DEFAULT '0',
  `hideChildrenInMenu` tinyint(1) DEFAULT '0',
  `hideInBreadcrumb` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `menu`
--

LOCK TABLES `menu` WRITE;
/*!40000 ALTER TABLE `menu` DISABLE KEYS */;
INSERT INTO `menu` VALUES (1,'/','菜单',NULL,'../layouts/BasicLayout',NULL,0,0,0,0,0),(2,'/','首页',NULL,NULL,'./System/Role',1,0,0,0,0),(90,'/system','系统管理','setting',NULL,NULL,1,0,0,0,0),(91,'/system/role','角色管理',NULL,'./System/Role',NULL,90,0,0,0,0),(92,'/system/user','用户管理',NULL,'./System/User',NULL,90,0,0,0,0);
/*!40000 ALTER TABLE `menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `notice`
--

DROP TABLE IF EXISTS `notice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `notice` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `avatar` varchar(200) DEFAULT NULL,
  `title` varchar(200) DEFAULT NULL,
  `datetime` datetime DEFAULT NULL,
  `description` varchar(200) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  `clickClose` tinyint(1) DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  `extra` varchar(50) DEFAULT NULL,
  `read` tinyint(1) DEFAULT '0',
  `account` varchar(100) DEFAULT NULL,
  `broadcast` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `notice`
--

LOCK TABLES `notice` WRITE;
/*!40000 ALTER TABLE `notice` DISABLE KEYS */;
INSERT INTO `notice` VALUES (1,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','你收到了 14 份新周报','2017-08-09 00:00:00',NULL,'notification',1,NULL,NULL,0,'admin',0),(2,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','你推荐的 曲妮妮 已通过第三轮面试','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(3,'https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png','这种模板可以区分多种通知类型','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(4,'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png','左侧图标用于区分不同的类型','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(5,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','内容不要超过两行字,超出时自动截断','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(6,'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg','曲丽丽 评论了你','2017-08-07 00:00:00','描述信息描述信息描述信息','message',1,NULL,NULL,1,'admin',0),(7,'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg','朱偏右 回复了你','2017-08-07 00:00:00','这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像','message',1,NULL,NULL,1,'admin',0),(8,'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg','标题','2017-08-07 00:00:00','这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像','message',1,NULL,NULL,0,'admin',0),(9,NULL,'任务名称',NULL,'任务需要在 2017-01-12 20:00 前启动','event',NULL,'todo','未开始',0,'admin',0),(10,NULL,'第三方紧急代码变更',NULL,'冠霖提交于 2017-01-06,需在 2017-01-07 前完成代码变更任务','event',NULL,'urgent','马上到期',1,'admin',0),(11,NULL,'信息安全考试',NULL,'指派竹尔于 2017-01-09 前完成更新并发布','event',NULL,'doing','已耗时 8 天',1,'admin',0),(12,NULL,'ABCD 版本发布',NULL,'冠霖提交于 2017-01-06,需在 2017-01-07 前完成代码变更任务','event',NULL,'processing','进行中',1,'admin',0),(13,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','1你收到了 14 份新周报','2017-08-09 00:00:00',NULL,'notification',NULL,NULL,NULL,1,'admin',0),(14,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','1你推荐的 曲妮妮 已通过第三轮面试','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(15,'https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png','1这种模板可以区分多种通知类型','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(16,'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png','1左侧图标用于区分不同的类型','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(17,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','1内容不要超过两行字,超出时自动截断','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(18,'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg','曲丽丽 评论了你','2017-08-07 00:00:00','描述信息描述信息描述信息','message',1,NULL,NULL,0,'admin',0),(19,'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg','朱偏右 回复了你','2017-08-07 00:00:00','这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像','message',1,NULL,NULL,0,'admin',0),(20,'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg','标题','2017-08-07 00:00:00','这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像','message',1,NULL,NULL,0,'admin',0),(21,NULL,'任务名称',NULL,'任务需要在 2017-01-12 20:00 前启动','event',NULL,'todo','未开始',1,'admin',0),(22,NULL,'第三方紧急代码变更',NULL,'冠霖提交于 2017-01-06,需在 2017-01-07 前完成代码变更任务','event',NULL,'urgent','马上到期',0,'admin',0),(23,NULL,'信息安全考试',NULL,'指派竹尔于 2017-01-09 前完成更新并发布','event',NULL,'doing','已耗时 8 天',0,'admin',0),(24,NULL,'ABCD 版本发布',NULL,'冠霖提交于 2017-01-06,需在 2017-01-07 前完成代码变更任务','event',NULL,'processing','进行中',0,'admin',0),(25,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','你收到了 14 份新周报','2017-08-09 00:00:00',NULL,'notification',NULL,NULL,NULL,1,'admin',0),(26,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','你推荐的 曲妮妮 已通过第三轮面试','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,1,'admin',0),(27,'https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png','这种模板可以区分多种通知类型','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(28,'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png','左侧图标用于区分不同的类型','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(29,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','内容不要超过两行字,超出时自动截断','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(30,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','1','2017-08-09 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(31,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','2','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(32,'https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png','3','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(33,'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png','4','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(34,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','5','2017-08-07 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(35,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','6','2017-08-09 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(36,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','7','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0),(37,'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png','8','2017-08-09 00:00:00',NULL,'notification',NULL,NULL,NULL,1,'admin',0),(38,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','9','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,1,'admin',0),(39,'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png','10','2017-08-08 00:00:00',NULL,'notification',NULL,NULL,NULL,0,'admin',0);
/*!40000 ALTER TABLE `notice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `role`
--

DROP TABLE IF EXISTS `role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `role` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) DEFAULT NULL,
  `desc` varchar(100) DEFAULT NULL,
  `levelid` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `role`
--

LOCK TABLES `role` WRITE;
/*!40000 ALTER TABLE `role` DISABLE KEYS */;
INSERT INTO `role` VALUES (1,'管理员','管理员',NULL),(2,'用户','普通用户',NULL),(3,'示例用户','示例用户',NULL);
/*!40000 ALTER TABLE `role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rolemenu`
--

DROP TABLE IF EXISTS `rolemenu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rolemenu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `roleid` int(11) DEFAULT NULL,
  `menuid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=187 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rolemenu`
--

LOCK TABLES `rolemenu` WRITE;
/*!40000 ALTER TABLE `rolemenu` DISABLE KEYS */;
INSERT INTO `rolemenu` VALUES (112,4,1),(113,4,2),(114,4,90),(115,4,91),(116,4,92),(168,5,2),(169,5,91),(170,5,92),(186,2,2);
/*!40000 ALTER TABLE `rolemenu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `account` varchar(100) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `roleid` int(11) DEFAULT NULL,
  `password` varchar(1000) DEFAULT '63a9f0ea7bb98050796b649e85481845',
  `state` int(11) DEFAULT NULL,
  `levelid` varchar(200) DEFAULT '0',
  `phone` varchar(11) DEFAULT NULL,
  `avatar` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_account_levelid_uindex` (`account`,`levelid`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (1,'admin','admin',1,'c4ca4238a0b923820dcc509a6f75849b',0,'0','1',NULL),(19,'root','root',3,'63a9f0ea7bb98050796b649e85481845',0,'0',NULL,NULL);
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `version`
--

DROP TABLE IF EXISTS `version`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `version` (
  `newest` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `version`
--

LOCK TABLES `version` WRITE;
/*!40000 ALTER TABLE `version` DISABLE KEYS */;
INSERT INTO `version` VALUES ('v1.0.10');
/*!40000 ALTER TABLE `version` 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 2020-03-17 13:59:05

 

你可能感兴趣的:(数据库&SQL)