kongzy
2024-09-14 f0f00e9ba8a755e4317e029d73b69a92ad9f9df1
exam-admin/src/main/resources/db/migration/V20240614001_question_bank.sql
@@ -1,11 +1,10 @@
-- ----------------------------
-- 题库表
-- ----------------------------
drop table if exists `train_exam`.`ex_question_bank`;
CREATE TABLE `train_exam`.`ex_question_bank`  (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键' ,
`name` varchar(50) NOT NULL  COMMENT '题库名称',
`company_id` bigint NOT NULL COMMENT '公司id',
`company_id` bigint  NULL COMMENT '公司id',
`category_id` bigint(20) NOT NULL COMMENT '分类ID',
`del_flag` tinyint NULL DEFAULT 0 COMMENT '删除标志(0代表存在,2代表删除,默认0)',
`privatize` tinyint NOT NULL DEFAULT 0  COMMENT '课程公开私有属性(0私有,1公开  默认0)',