| | |
| | | -- ---------------------------- |
| | | -- 题库表 |
| | | -- ---------------------------- |
| | | 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)', |