35 lines
1.2 KiB
MySQL
35 lines
1.2 KiB
MySQL
|
/*
|
|||
|
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: 08/10/2022 15:18:25
|
|||
|
*/
|
|||
|
|
|||
|
SET NAMES utf8mb4;
|
|||
|
SET FOREIGN_KEY_CHECKS = 0;
|
|||
|
|
|||
|
-- ----------------------------
|
|||
|
-- Table structure for paper_user_question
|
|||
|
-- ----------------------------
|
|||
|
DROP TABLE IF EXISTS `paper_user_question`;
|
|||
|
CREATE TABLE `paper_user_question` (
|
|||
|
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户试卷试题结果id',
|
|||
|
`pu_id` bigint NOT NULL COMMENT '用户试卷paper_user的id',
|
|||
|
`company_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '组织id',
|
|||
|
`type` int NULL DEFAULT NULL COMMENT '试题类型:1-理论题,2-实训题',
|
|||
|
`question_id` bigint NOT NULL COMMENT '试题id',
|
|||
|
`state` int NULL DEFAULT NULL COMMENT '试题状态:1-未做(初始),2-答对,3-答错,4-时间到结束',
|
|||
|
PRIMARY KEY (`id`) USING BTREE
|
|||
|
) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
|||
|
|
|||
|
SET FOREIGN_KEY_CHECKS = 1;
|