15 lines
1.2 KiB
SQL
15 lines
1.2 KiB
SQL
-- 新题库
|
|
DROP TABLE IF EXISTS `race_question2`;
|
|
CREATE TABLE `race_question2` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
|
`type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '类型 选择题=select,判断题=judge,多选题=multi',
|
|
`topic` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '问题内容',
|
|
`create_user_id` bigint DEFAULT NULL COMMENT '创建者id',
|
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
`project_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '项目code',
|
|
`company_id` bigint DEFAULT NULL COMMENT '公司组织id',
|
|
`race_lable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '标签',
|
|
`questions` longtext,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|