/*
 Navicat Premium Data Transfer

 Source Server         : MYSQL8-docker-master
 Source Server Type    : MySQL
 Source Server Version : 80024
 Source Host           : localhost:3380
 Source Schema         : exam_practice

 Target Server Type    : MySQL
 Target Server Version : 80024
 File Encoding         : 65001

 Date: 25/05/2021 22:57:44
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for category
-- ----------------------------
DROP TABLE IF EXISTS `category`;
CREATE TABLE `category` (
  `Id` int NOT NULL AUTO_INCREMENT,
  `parentId` int NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `remark` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `createTime` datetime NOT NULL,
  `createUserName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `modifyTime` datetime DEFAULT NULL,
  `modifyUserName` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tenantCode` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

SET FOREIGN_KEY_CHECKS = 1;
 