41 lines
1.7 KiB
SQL
41 lines
1.7 KiB
SQL
/*
|
||
Navicat Premium Data Transfer
|
||
|
||
Source Server : room
|
||
Source Server Type : MySQL
|
||
Source Server Version : 80029
|
||
Source Host : 192.168.3.233:3306
|
||
Source Schema : joylink
|
||
|
||
Target Server Type : MySQL
|
||
Target Server Version : 80029
|
||
File Encoding : 65001
|
||
|
||
Date: 09/10/2022 14:50:58
|
||
*/
|
||
|
||
SET NAMES utf8mb4;
|
||
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
||
-- ----------------------------
|
||
-- Table structure for paper_composition
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `paper_composition`;
|
||
CREATE TABLE `paper_composition` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '试卷蓝图id',
|
||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '试卷蓝图名称',
|
||
`profile` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '试卷蓝图简介',
|
||
`org_id` bigint NULL DEFAULT NULL COMMENT '组织id',
|
||
`start_time` datetime NULL DEFAULT NULL COMMENT '启用起始时间',
|
||
`end_time` datetime NULL DEFAULT NULL COMMENT '启用截止时间',
|
||
`valid_duration` int NULL DEFAULT NULL COMMENT '完成考试有效最长时长,单位min',
|
||
`pass_score` int NULL DEFAULT NULL COMMENT '及格分',
|
||
`creator_id` bigint NULL DEFAULT NULL COMMENT '创建者id',
|
||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||
`state` int NULL DEFAULT NULL COMMENT '试卷蓝图状态:1-正在编辑,2-封存(不能修改),3-已经被使用(不能修改删除);定于见PaperCompositionState',
|
||
PRIMARY KEY (`id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
||
SET FOREIGN_KEY_CHECKS = 1;
|