MySQL数据库表结构设计
第 1-11 条, 共 11 条.
字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
---|---|---|---|---|---|---|
users_id | bigint(20) | 否 | 无索引 | |||
picture_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
gallery_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
comment_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
user_follow_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
user_fans_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
like_gallery_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
like_picture_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
like_comment_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
follow_gallery_count | bigint(20) | 0 | 否 | 无索引 | 0 | |
unread_message_count | bigint(20) | 0 | 否 | 无索引 | 0 |
MySQL建表SQL语句 免费MySQL数据库表结构设计
数据库结构:图片分享-用户数量统计:https://open.yesapi.cn/tablelist/yesapi_linger_user_count.html
-- 数据库大全:图片分享-用户数量统计
-- 来源:YesApi.cn
CREATE TABLE `yesapi_linger_user_count` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`users_id` bigint(20) NOT NULL COMMENT '',
`picture_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`gallery_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`comment_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`user_follow_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`user_fans_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`like_gallery_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`like_picture_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`like_comment_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`follow_gallery_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
`unread_message_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '图片分享-用户数量统计';
复制后,到数据库执行,即可创建此数据库表。
猜你喜欢

