1 Star 0 Fork 0

邹元浩/edu-backend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
db.sql 34.22 KB
一键复制 编辑 原始数据 按行查看 历史
邹元浩 提交于 2020-08-04 16:07 . db
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
--
-- DO NOT EDIT THIS FILE!
-- ----------------------
--
DROP DATABASE IF EXISTS kcgl;
CREATE DATABASE kcgl;
CREATE USER IF NOT EXISTS 'kcgl'@'%';
ALTER USER 'kcgl'@'%' IDENTIFIED WITH mysql_native_password BY 'kcgl.Docker';
GRANT ALL PRIVILEGES ON kcgl.* TO 'kcgl'@'%';
USE kcgl;
-- MySQL dump 10.13 Distrib 8.0.11, for Linux (x86_64)
--
-- Host: localhost Database: kcgl
-- ------------------------------------------------------
-- Server version 8.0.11
/*!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 */;
SET NAMES utf8mb4 ;
/*!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 `approval`
--
DROP TABLE IF EXISTS `approval`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `approval` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`wid` int(11) NOT NULL,
`type` enum('land','loan','mediation') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'land',
`title` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`data` json DEFAULT NULL,
`stage` int(11) NOT NULL DEFAULT '1' COMMENT '当前第几个阶段',
`total` int(11) NOT NULL COMMENT '一共有几层审批',
`status` enum('checking','passed','rejected','cancel','success','fail') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'checking' COMMENT '''rejected 驳回''\r\n''passed 通过''\r\n''checking 审核中''\r\n''cancel 已取消''\r\n''success 调解成功''\r\n''fail 调解失败''',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_modify_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
KEY `approval_users_id_fk` (`wid`) USING BTREE,
KEY `approval_approval_type_id_fk` (`type`) USING BTREE,
CONSTRAINT `approval_users_id_fk` FOREIGN KEY (`wid`) REFERENCES `wechat_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `approval_records`
--
DROP TABLE IF EXISTS `approval_records`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `approval_records` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) NOT NULL,
`stage` int(11) NOT NULL,
`minimum_pass` int(11) DEFAULT '1',
`approver` int(11) NOT NULL,
`status` enum('checking','passed','rejected','cancel','success','fail') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'checking',
`last_modify_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`) USING BTREE,
KEY `approval_records_approval_id_fk` (`aid`) USING BTREE,
KEY `approval_records_users_id_fk` (`approver`) USING BTREE,
CONSTRAINT `approval_records_approval_id_fk` FOREIGN KEY (`aid`) REFERENCES `approval` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `approval_records_users_id_fk` FOREIGN KEY (`approver`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='审批流程记录';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `approval_template`
--
DROP TABLE IF EXISTS `approval_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `approval_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` enum('land','loan','mediation') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'land',
`alias` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`total` int(11) NOT NULL,
`process` json DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='审批模板';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `badge`
--
DROP TABLE IF EXISTS `badge`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `badge` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '徽章标题',
`fid` int(11) DEFAULT NULL COMMENT '图片id',
`content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '获得条件',
`type` enum('other','kcgl') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'other' COMMENT '类别 课程,其他',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `badge_user`
--
DROP TABLE IF EXISTS `badge_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `badge_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`bid` int(11) DEFAULT NULL,
`openid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `department`
--
DROP TABLE IF EXISTS `department`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `department` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` int(255) DEFAULT NULL,
`charge` int(11) DEFAULT NULL COMMENT '部门负责人/审批人',
`is_update` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否可以修改',
PRIMARY KEY (`id`),
KEY `type` (`type`),
KEY `charge` (`charge`),
CONSTRAINT `department_ibfk_1` FOREIGN KEY (`type`) REFERENCES `department_type` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
CONSTRAINT `department_ibfk_2` FOREIGN KEY (`charge`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `department_type`
--
DROP TABLE IF EXISTS `department_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `department_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `department_users`
--
DROP TABLE IF EXISTS `department_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `department_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`did` int(11) NOT NULL,
`uid` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `did` (`did`),
KEY `uid` (`uid`),
CONSTRAINT `department_users_ibfk_1` FOREIGN KEY (`did`) REFERENCES `department` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `department_users_ibfk_2` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `feedback`
--
DROP TABLE IF EXISTS `feedback`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT NULL,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
`version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
KEY `feedback_users_id_fk` (`uid`) USING BTREE,
CONSTRAINT `feedback_users_id_fk` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `feedback_reply`
--
DROP TABLE IF EXISTS `feedback_reply`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `feedback_reply` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fid` int(11) NOT NULL,
`content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`) USING BTREE,
KEY `feedback_images_feedback_id_fk` (`fid`) USING BTREE,
KEY `feedback_images_upload_files_id_fk` (`content`) USING BTREE,
CONSTRAINT `feedback_reply_ibfk_1` FOREIGN KEY (`fid`) REFERENCES `feedback` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `file_model`
--
DROP TABLE IF EXISTS `file_model`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `file_model` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`appid` int(11) NOT NULL,
`model` int(11) NOT NULL,
`file` int(11) NOT NULL,
`type` enum('accessory','receipt','notice','ruling') CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT 'accessory',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`) USING BTREE,
KEY `appid` (`appid`) USING BTREE,
KEY `file` (`file`) USING BTREE,
CONSTRAINT `file_model_ibfk_1` FOREIGN KEY (`appid`) REFERENCES `function` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `file_model_ibfk_2` FOREIGN KEY (`file`) REFERENCES `files` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `files`
--
DROP TABLE IF EXISTS `files`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `files` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT NULL,
`from` enum('app','wechat') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'app',
`org_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '原文件名',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '链接地址',
`file_type` enum('image','docs','other','thumb','theme') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'other' COMMENT '文件类型',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
`thumb` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '缩略图地址',
`suffiix` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `function`
--
DROP TABLE IF EXISTS `function`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `function` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_model` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `function_users`
--
DROP TABLE IF EXISTS `function_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `function_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fid` int(11) NOT NULL,
`uid` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`),
KEY `fid` (`fid`),
CONSTRAINT `function_users_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `function_users_ibfk_2` FOREIGN KEY (`fid`) REFERENCES `function` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `job_manage`
--
DROP TABLE IF EXISTS `job_manage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `job_manage` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '任务名',
`type` enum('journal','clock','task','retire','sms','contract','approval','customer') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'journal' COMMENT '组名',
`clazz` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '类名',
`cron_expression` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '定时表达式',
`is_enabled` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N' COMMENT '是否开启',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `name` (`name`,`type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `kcgl`
--
DROP TABLE IF EXISTS `kcgl`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `kcgl` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '标题',
`content` text COLLATE utf8mb4_unicode_ci COMMENT '内容',
`pure_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '内容不带格式',
`fid` int(11) DEFAULT NULL COMMENT '(弃用)',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '时间',
`bid` int(11) DEFAULT NULL COMMENT '徽章id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `kcgl_steps`
--
DROP TABLE IF EXISTS `kcgl_steps`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `kcgl_steps` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`kid` int(11) DEFAULT NULL,
`sid` int(11) DEFAULT NULL,
`openid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` enum('start','end') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'start',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `kcgl_time`
--
DROP TABLE IF EXISTS `kcgl_time`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `kcgl_time` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`kid` int(11) DEFAULT NULL COMMENT '课程id',
`openid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户',
`time` float(11,2) DEFAULT NULL COMMENT '课时时长',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `kcgl_user`
--
DROP TABLE IF EXISTS `kcgl_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `kcgl_user` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`openid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '微信id',
`kid` int(10) DEFAULT NULL COMMENT '课程id',
`status` enum('cancel','checking','success') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'checking' COMMENT '状态',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `land`
--
DROP TABLE IF EXISTS `land`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `land` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`openid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`did` int(11) DEFAULT NULL,
`aid` int(11) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`data` json DEFAULT NULL,
`status` enum('checking','passed','rejected','cancel') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'checking' COMMENT '''rejected 驳回''\r\n''passed 通过''\r\n''checking 审核中''\r\n''cancel 已取消''\r\n',
PRIMARY KEY (`id`),
KEY `openid` (`openid`),
KEY `land_ibfk_3` (`aid`),
KEY `did` (`did`),
CONSTRAINT `land_ibfk_1` FOREIGN KEY (`openid`) REFERENCES `wechat_users` (`openid`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `land_ibfk_2` FOREIGN KEY (`did`) REFERENCES `department` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
CONSTRAINT `land_ibfk_3` FOREIGN KEY (`aid`) REFERENCES `approval` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `law`
--
DROP TABLE IF EXISTS `law`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `law` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`pid` int(11) DEFAULT '0',
`create_time` datetime DEFAULT NULL,
`pure_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `loan`
--
DROP TABLE IF EXISTS `loan`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `loan` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`openid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`aid` int(11) DEFAULT NULL,
`type` enum('natural','legal','counter_guarantee') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'natural',
`create_time` datetime DEFAULT NULL,
`data` json DEFAULT NULL,
`status` enum('checking','passed','rejected','cancel') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'checking' COMMENT '''rejected 驳回''\r\n''passed 通过''\r\n''checking 审核中''\r\n''cancel 已取消''\r\n',
PRIMARY KEY (`id`),
KEY `openid` (`openid`),
KEY `land_ibfk_3` (`aid`),
CONSTRAINT `loan_ibfk_1` FOREIGN KEY (`openid`) REFERENCES `wechat_users` (`openid`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `loan_ibfk_3` FOREIGN KEY (`aid`) REFERENCES `approval` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `mediation`
--
DROP TABLE IF EXISTS `mediation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `mediation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`openid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`req` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '调解\\仲裁请求',
`process` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '事实经过',
`require` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '依据和要求',
`create_time` datetime DEFAULT NULL,
`aid` int(11) DEFAULT NULL,
`did` int(11) DEFAULT NULL COMMENT '所在部门id',
`status` enum('checking','passed','rejected','cancel','success','fail') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'checking' COMMENT '''rejected 驳回''\r\n''passed 通过''\r\n''checking 审核中''\r\n''cancel 已取消''\r\n''success 调解成功''\r\n''fail 调解失败''',
`is_start` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否开始仲裁',
`stage` enum('applyed','receipted','noticed','rulinged','ruling_paged','finished') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'applyed' COMMENT '仲裁进展阶段',
`arbitrat_time` datetime DEFAULT NULL COMMENT '仲裁时间',
PRIMARY KEY (`id`),
KEY `openid` (`openid`),
KEY `aid` (`aid`),
KEY `did` (`did`),
CONSTRAINT `mediation_ibfk_1` FOREIGN KEY (`openid`) REFERENCES `wechat_users` (`openid`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `mediation_ibfk_2` FOREIGN KEY (`aid`) REFERENCES `approval` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
CONSTRAINT `mediation_ibfk_3` FOREIGN KEY (`did`) REFERENCES `department` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `mediation_person`
--
DROP TABLE IF EXISTS `mediation_person`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `mediation_person` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`mid` int(11) NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sex` enum('male','female','unknown') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'unknown',
`age` int(11) DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '邮编',
`mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` enum('applyer','apply_agenter','defendant','defendant_agenter') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'applyer' COMMENT '''applyer'' 申请人\r\n''apply_agenter'' 申请人代理人\r\n''defendant'' 被申请人\r\n''defendant_agenter'' 被申请人代理人',
PRIMARY KEY (`id`),
KEY `mid` (`mid`),
CONSTRAINT `mediation_person_ibfk_1` FOREIGN KEY (`mid`) REFERENCES `mediation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `mediation_receive`
--
DROP TABLE IF EXISTS `mediation_receive`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `mediation_receive` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`openid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` enum('notice','ruling','ruling_page') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'notice',
`mid` int(11) DEFAULT NULL,
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `mid` (`mid`),
KEY `mediation_receive_ibfk_1` (`openid`),
CONSTRAINT `mediation_receive_ibfk_1` FOREIGN KEY (`openid`) REFERENCES `wechat_users` (`openid`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `mediation_receive_ibfk_2` FOREIGN KEY (`mid`) REFERENCES `mediation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `message_center`
--
DROP TABLE IF EXISTS `message_center`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `message_center` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`send_user` int(11) DEFAULT NULL,
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`alias` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`alert` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`message` json DEFAULT NULL,
`read_status` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='推送历史';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `reditor`
--
DROP TABLE IF EXISTS `reditor`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `reditor` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`data` json DEFAULT NULL,
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='富文本草稿箱';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `steps`
--
DROP TABLE IF EXISTS `steps`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `steps` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`num` int(11) DEFAULT NULL COMMENT '编号',
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '标题',
`kid` int(11) DEFAULT NULL COMMENT '课程id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `story`
--
DROP TABLE IF EXISTS `story`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `story` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`openid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`content` text COLLATE utf8mb4_unicode_ci,
`type` enum('practice','assessment') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'practice',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `story_img`
--
DROP TABLE IF EXISTS `story_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `story_img` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`sid` int(11) DEFAULT NULL,
`fid` int(11) DEFAULT NULL,
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `user_analysis`
--
DROP TABLE IF EXISTS `user_analysis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user_analysis` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`longitude` double(255,8) DEFAULT NULL,
`latitude` double(255,8) DEFAULT NULL,
`manufacturer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '制造商',
`model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`back_mode` tinyint(1) DEFAULT '0',
`type` enum('app','web') CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
`user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
`create_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
`is_login` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`) USING BTREE,
KEY `uid_local_index` (`uid`) USING BTREE,
CONSTRAINT `user_analysis_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `user_local`
--
DROP TABLE IF EXISTS `user_local`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user_local` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`local` json DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `uid` (`uid`,`type`) USING BTREE,
KEY `uid_local_index` (`uid`) USING BTREE,
CONSTRAINT `user_local_ibfk_2` FOREIGN KEY (`uid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '唯一用户名,系统自动生成',
`password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password_salt` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`avatar` int(11) DEFAULT NULL,
`need_reset_password` tinyint(1) DEFAULT '0',
`is_admin` tinyint(1) DEFAULT NULL,
`mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `users_mobile_uindex` (`mobile`) USING BTREE,
UNIQUE KEY `users_username_uindex` (`username`) USING BTREE,
KEY `avatar` (`avatar`),
CONSTRAINT `users_ibfk_1` FOREIGN KEY (`avatar`) REFERENCES `files` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `version`
--
DROP TABLE IF EXISTS `version`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `version` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`version` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`file` int(11) NOT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
KEY `version_upload_files_id_fk` (`file`) USING BTREE,
CONSTRAINT `version_upload_files_id_fk` FOREIGN KEY (`file`) REFERENCES `files` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `wechat_users`
--
DROP TABLE IF EXISTS `wechat_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `wechat_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`openid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户的标识,对当前公众号唯一',
`nickname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户的昵称',
`headimg_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户头像',
`sex` enum('male','female','unknown') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'unknown' COMMENT '用户性别',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户真实姓名',
`mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户手机号',
`data` json DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `wechat_users_openid_uindex` (`openid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='社区用户';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `work_flow`
--
DROP TABLE IF EXISTS `work_flow`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `work_flow` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`pid` int(11) NOT NULL DEFAULT '0',
`create_time` datetime DEFAULT NULL,
`pure_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`type` enum('person','other','business') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'person',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!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-08-04 16:07:28
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zyh1zyh/edu-backend.git
git@gitee.com:zyh1zyh/edu-backend.git
zyh1zyh
edu-backend
edu-backend
master

搜索帮助