text: -- MySQL dump 10.13  Distrib 5.7.17, for macos10.12 (x86_64)
  --
  -- Host: localhost    Database: exam_user
  -- ------------------------------------------------------
  -- Server version	5.7.24
  
  /*!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 `students`
  --
  create database exam_user;
  use exam_user;
  
  DROP TABLE IF EXISTS `students`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `students` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `auth_id` int(11) NOT NULL,
    `create_time` datetime(6) DEFAULT NULL,
    `email` varchar(255) DEFAULT NULL,
    `header` varchar(255) DEFAULT NULL,
    `is_active` bit(1) NOT NULL,
    `national` varchar(255) DEFAULT NULL,
    `real_name` varchar(255) DEFAULT NULL,
    `sex` int(11) NOT NULL,
    `tel` varchar(255) DEFAULT NULL,
    `update_time` datetime(6) DEFAULT NULL,
    `classes_id` int(11) DEFAULT NULL,
    PRIMARY KEY (`id`),
    KEY `FKbhrjg8sxdtauc057iatqcq9nk` (`classes_id`),
    CONSTRAINT `FKbhrjg8sxdtauc057iatqcq9nk` FOREIGN KEY (`classes_id`) REFERENCES `sys_classes` (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `students`
  --
  
  LOCK TABLES `students` WRITE;
  /*!40000 ALTER TABLE `students` DISABLE KEYS */;
  /*!40000 ALTER TABLE `students` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `sys_admin`
  --
  
  DROP TABLE IF EXISTS `sys_admin`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `sys_admin` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `auth_id` int(11) NOT NULL,
    `create_time` datetime(6) DEFAULT NULL,
    `email` varchar(255) DEFAULT NULL,
    `header` varchar(255) DEFAULT NULL,
    `is_active` bit(1) NOT NULL,
    `national` varchar(255) DEFAULT NULL,
    `real_name` varchar(255) DEFAULT NULL,
    `tel` varchar(255) DEFAULT NULL,
    `update_time` datetime(6) DEFAULT NULL,
    `user_type` int(11) NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `sys_admin`
  --
  
  LOCK TABLES `sys_admin` WRITE;
  /*!40000 ALTER TABLE `sys_admin` DISABLE KEYS */;
  INSERT INTO `sys_admin` VALUES (1,1,'2019-02-24 14:26:21.000000','137273278@qq.com','https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif','','四川','离歌笑','110',NULL,1),(5,7,'2019-02-24 18:22:26.748000','fasd',NULL,'','sa','asdfasdf','fsd','2019-02-24 18:22:27.377000',1);
  /*!40000 ALTER TABLE `sys_admin` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `sys_classes`
  --
  
  DROP TABLE IF EXISTS `sys_classes`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `sys_classes` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `description` varchar(255) DEFAULT NULL,
    `name` varchar(255) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `sys_classes`
  --
  
  LOCK TABLES `sys_classes` WRITE;
  /*!40000 ALTER TABLE `sys_classes` DISABLE KEYS */;
  /*!40000 ALTER TABLE `sys_classes` 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 2019-05-01 13:39:13
  