AiJiNanProject/db/video.sql
小黄狗横扫士力架 bfc6a73c2f first commit
2022-12-28 09:45:16 +08:00

24 lines
1.2 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.

DROP TABLE IF EXISTS `video`;
CREATE TABLE `video` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title_img` varchar(64) DEFAULT NULL COMMENT '标题图',
`title` varchar(255) DEFAULT NULL COMMENT '标题',
`file_size` varchar(64) DEFAULT NULL COMMENT '文件大小',
`duration_time` varchar(64) DEFAULT NULL COMMENT '时长',
`publish_channel` varchar(64) DEFAULT NULL COMMENT '发布渠道',
`create_method` varchar(64) DEFAULT NULL COMMENT '创建方式',
`status` tinyint(1) DEFAULT '0' COMMENT '视频的状态(0草稿1审核中2成品)',
`video_type` varchar(64) DEFAULT NULL COMMENT '视频的类型',
`date` date DEFAULT NULL COMMENT '时间',
`server_video_path` varchar(64) DEFAULT NULL COMMENT '服务器的视频路径',
`digest` varchar(255) DEFAULT NULL COMMENT '摘要',
`opinion` varchar(255) DEFAULT NULL COMMENT '审核意见',
`create_date` date DEFAULT NULL COMMENT '创建日期',
`create_user` int(4) DEFAULT NULL COMMENT '创建人',
`update_date` date DEFAULT NULL COMMENT '修改日期',
`update_user` tinyint(4) DEFAULT NULL COMMENT '修改人',
`is_delete` tinyint(1) DEFAULT '0' COMMENT '是否删除',
PRIMARY KEY (`id`)
) ENGINE=InnoDB;