目标生成的sql脚本,如下图:
主要是需要指定存储引擎和字符编码
CREATE TABLE short_video_course_association (
`id` bigint unsigned NOT NULL COMMENT '主键ID',
`sid` bigint unsigned NOT NULL COMMENT '店铺ID',
`course_category_id` bigint unsigned NOT NULL COMMENT '课程分类ID(shop_category表主键)',