From c8562807248f42fb03a136f81f54956acf980c3b Mon Sep 17 00:00:00 2001 From: tiger_zhou <123456> Date: Mon, 24 Oct 2022 10:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=94=E9=A2=98=E8=AF=95=E5=8D=B7=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E9=87=8D=E5=A4=8D=E7=AD=94=E9=A2=98=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E4=B8=94=E4=BF=AE=E6=94=B9=E7=9A=84=E6=97=B6=E5=80=99=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E4=B8=8A=E6=AC=A1=E7=AD=94=E9=A2=98=E7=9A=84=E7=AD=94?= =?UTF-8?q?=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/20221012-xia-paper.sql | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sql/20221012-xia-paper.sql b/sql/20221012-xia-paper.sql index d7f9477d2..eb0ad5f02 100644 --- a/sql/20221012-xia-paper.sql +++ b/sql/20221012-xia-paper.sql @@ -73,14 +73,15 @@ CREATE TABLE `rts_paper_user` ( -- Table structure for rts_paper_user_question -- ---------------------------- DROP TABLE IF EXISTS `rts_paper_user_question`; -CREATE TABLE `rts_paper_user_question` ( - `id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户试卷试题结果id', - `pu_id` bigint NOT NULL COMMENT '用户试卷paper_user的id', - `org_id` bigint 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 = 151 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +CREATE TABLE `rts_paper_user_question` ( + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户试卷试题结果id', + `pu_id` bigint NOT NULL COMMENT '用户试卷paper_user的id', + `org_id` bigint DEFAULT NULL COMMENT '组织id', + `type` int DEFAULT NULL COMMENT '试题类型:1-理论题,2-实训题', + `question_id` bigint NOT NULL COMMENT '试题id', + `state` int DEFAULT NULL COMMENT '试题状态:1-未做(初始),2-答对,3-答错,4-时间到结束', + `tmp_answer` varchar(255) DEFAULT NULL COMMENT '临时答案内容', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=373 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; SET FOREIGN_KEY_CHECKS = 1;