此表为课程与周边的对应关系的数据结构
field | type | null | default | desc | extra |
---|---|---|---|---|---|
id | bigint | no | 主键 | pri | |
cid | varchar(512) | no | 课程编码 | ||
sid | varchar(512) | no | 周边编码 | ||
merchant_id | bigint | no | 渠道id | ||
status | smallint | no | 状态 | ||
create_time | smallint | no | now | 创建时间 |
unique index on(cid, sid, merchant_id)