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

MySQL建表SQL语句

数据库结构:抖音评论:https://open.yesapi.cn/tablelist/yesapi_douyin_comment.html


-- 数据库大全:抖音评论
-- 来源:YesApi.cn
CREATE TABLE `yesapi_douyin_comment` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `video_id` varchar(25) NULL COMMENT '',
    `user_name` varchar(30) NULL COMMENT '',
    `content` text NULL COMMENT '',
    `like_count` int(7) NULL COMMENT '',
    `comment_time` datetime NULL COMMENT '',
    `beReplied_user` varchar(30) NULL COMMENT '',
    `beReplied_content` text NULL COMMENT '',
    `beReplied_like_count` int(7) NULL COMMENT '',
    `beReplied_comment_time` datetime NULL COMMENT '',
    `create_time` datetime NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '抖音评论';

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


MySQL数据库表结构设计

第 1-10 条, 共 10 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
video_idvarchar(25)无索引
user_namevarchar(30)无索引
contenttext无索引
like_countint(7)无索引
comment_timedatetime无索引
beReplied_uservarchar(30)无索引
beReplied_contenttext无索引
beReplied_like_countint(7)无索引
beReplied_comment_timedatetime无索引
create_timedatetime无索引

猜你喜欢

MySQL数据库设计 抖音小视频



回到顶部 ↑