+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:抖音小视频:https://open.yesapi.cn/tablelist/yesapi_douyin_video.html


-- 数据库大全:抖音小视频
-- 来源:YesApi.cn
CREATE TABLE `yesapi_douyin_video` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `author` varchar(30) NULL COMMENT '',
    `video_id` varchar(25) NULL COMMENT '',
    `description` text NULL COMMENT '',
    `like_count` int(9) NULL COMMENT '',
    `comment_count` int(7) NULL COMMENT '',
    `share_count` int(8) NULL COMMENT '',
    `music_author` varchar(30) NULL COMMENT '',
    `music_title` varchar(50) NULL COMMENT '',
    `filename` text NULL COMMENT '',
    `download_url` text NULL COMMENT '',
    `create_time` datetime NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '抖音小视频';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-11 条, 共 11 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
authorvarchar(30)无索引
video_idvarchar(25)无索引
descriptiontext无索引
like_countint(9)无索引
comment_countint(7)无索引
share_countint(8)无索引
music_authorvarchar(30)无索引
music_titlevarchar(50)无索引
filenametext无索引
download_urltext无索引
create_timedatetime无索引

猜你喜欢

MySQL数据库设计 抖音评论



回到顶部 ↑