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

MySQL建表SQL语句

数据库结构:相亲-会员动态获赞表:https://open.yesapi.cn/tablelist/yesapi_xqw_member_trends_favour.html


-- 数据库大全:相亲-会员动态获赞表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_xqw_member_trends_favour` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `trends_id` int(10) NOT NULL DEFAULT '0' COMMENT '',
    `from_user_id` int(10) NOT NULL DEFAULT '0' COMMENT '点赞用户id',
    `from_username` varchar(50) NOT NULL COMMENT '点赞用户名',
    `to_user_id` int(10) NOT NULL DEFAULT '0' COMMENT '被赞用户id',
    `to_username` varchar(50) NOT NULL COMMENT '被赞用户名',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '相亲-会员动态获赞表';

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


MySQL数据库表结构设计

第 1-5 条, 共 5 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
trends_idint(10)0无索引0
from_user_idint(10)0点赞用户id无索引0
from_usernamevarchar(50)点赞用户名无索引
to_user_idint(10)0被赞用户id无索引0
to_usernamevarchar(50)被赞用户名无索引

猜你喜欢

MySQL数据库设计 相亲-用户表

MySQL数据库设计 相亲-学历表

MySQL数据库设计 相亲-收入表

MySQL数据库设计 相亲-省

MySQL数据库设计 相亲-市

MySQL数据库设计 相亲-区

MySQL数据库设计 相亲-管理员表

MySQL数据库设计 相亲-管理员日志

MySQL数据库设计 相亲-菜单

MySQL数据库设计 相亲-会员礼物种类表

MySQL数据库设计 相亲-会员动态表

MySQL数据库设计 相亲-管理员权限

MySQL数据库设计 相亲-管理员角色

MySQL数据库设计 相亲-角色权限表

MySQL数据库设计 相亲-用户角色表

MySQL数据库设计 相亲-发送用户短信记录

MySQL数据库设计 相亲-会员相册

MySQL数据库设计 相亲-会员图片

MySQL数据库设计 相亲-会员实名认证身份证信息

MySQL数据库设计 相亲-用户状态表



回到顶部 ↑