2022-10-08 15:22:26 +08:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
2022-10-09 18:03:24 +08:00
|
|
|
Date: 09/10/2022 14:51:35
|
2022-10-08 15:22:26 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for paper_user
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `paper_user`;
|
|
|
|
CREATE TABLE `paper_user` (
|
|
|
|
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户试卷id',
|
|
|
|
`user_id` bigint NOT NULL COMMENT '用户id',
|
|
|
|
`pc_id` bigint NOT NULL COMMENT '生成用户试卷的paper_compostion的id',
|
2022-10-09 18:03:24 +08:00
|
|
|
`org_id` bigint NULL DEFAULT NULL COMMENT '组织id',
|
2022-10-08 15:22:26 +08:00
|
|
|
`score` int NULL DEFAULT NULL COMMENT '用户最终得分',
|
|
|
|
`start_time` datetime NULL DEFAULT NULL COMMENT '用户开始做题时间',
|
|
|
|
`end_time` datetime NULL DEFAULT NULL COMMENT '用户结束做题时间',
|
|
|
|
`cause` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '原因',
|
|
|
|
`create_time` datetime NULL DEFAULT NULL COMMENT '用户试卷生成时间',
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2022-10-09 18:03:24 +08:00
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
2022-10-08 15:22:26 +08:00
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|