Files
hldrCenter/server/sql/course/video_case/video_case.sql
2025-11-01 23:36:31 +08:00

13 lines
1.3 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
CREATE TABLE `video_case` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '视频案例ID主键',
`title` varchar(255) NOT NULL COMMENT '视频案例标题',
`intro` text COMMENT '视频简介(描述案例背景、内容等)',
`video_url` varchar(512) NOT NULL COMMENT '视频播放地址如MP4 URL、视频平台嵌入链接',
`designer_names` varchar(1000) NOT NULL COMMENT '设计人员名单(多人用逗号分隔)',
`tutor_names` varchar(1000) NOT NULL COMMENT '指导老师名单(多人用逗号分隔)',
`sort` int DEFAULT 0 COMMENT '排序(数字越小越靠前)',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`is_delete` int DEFAULT 0 COMMENT '软删除标识0-未删除1-已删除)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='视频案例表(独立存储,不关联其他表)';