lj_course_sub_relation.md 541 B

lj_course_sub_relation table structure

此表为课程与单元的对应关系的数据结构

field type null default desc extra
id bigint no 主键 pri
c_code varchar(512) no 课程编码
t_code varchar(512) no 单元编码
type smallint no 0 类型, 0为课程与课对应关系, 1为课程与单元对应关系
create_time smallint no now 创建时间
index

unique index on(c_code, t_code)