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

MySQL建表SQL语句

数据库结构:智果内容付费-会员表:https://open.yesapi.cn/tablelist/yesapi_zhiguo_ocenter_member.html


-- 数据库大全:智果内容付费-会员表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_zhiguo_ocenter_member` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `uid` int(10) NOT NULL COMMENT '用户ID',
    `nickname` char(32) NOT NULL COMMENT '昵称',
    `sex` tinyint(3) NOT NULL DEFAULT '0' COMMENT '性别',
    `birthday` date NOT NULL DEFAULT '0000-00-00' COMMENT '生日',
    `qq` char(10) NOT NULL COMMENT 'qq号',
    `login` int(10) NOT NULL DEFAULT '0' COMMENT '登录次数',
    `reg_ip` bigint(20) NOT NULL DEFAULT '0' COMMENT '注册IP',
    `reg_time` int(10) NOT NULL DEFAULT '0' COMMENT '注册时间',
    `last_login_ip` bigint(20) NOT NULL DEFAULT '0' COMMENT '最后登录IP',
    `last_login_time` int(10) NOT NULL DEFAULT '0' COMMENT '最后登录时间',
    `yesapi_zhiguo_ocenter_member_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '会员状态',
    `last_login_role` int(11) NOT NULL COMMENT '',
    `show_role` int(11) NOT NULL COMMENT '个人主页显示角色',
    `signature` text NOT NULL COMMENT '',
    `pos_province` varchar(10) NOT NULL COMMENT '',
    `pos_city` varchar(11) NOT NULL COMMENT '',
    `pos_district` varchar(11) NOT NULL COMMENT '',
    `pos_community` int(11) NOT NULL COMMENT '',
    `score1` double NOT NULL DEFAULT '0' COMMENT '用户积分',
    `score2` double NOT NULL DEFAULT '0' COMMENT 'score2',
    `score3` double NOT NULL DEFAULT '0' COMMENT 'score3',
    `score4` double NOT NULL DEFAULT '0' COMMENT 'score4',
    `con_check` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `total_check` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `fans` int(11) NOT NULL DEFAULT '0' COMMENT '粉丝数',
    `session_id` varchar(225) NOT NULL COMMENT '',
    KEY `nickname` (`nickname`),
    KEY `yesapi_zhiguo_ocenter_member_status` (`yesapi_zhiguo_ocenter_member_status`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '智果内容付费-会员表';

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


MySQL数据库表结构设计

第 1-26 条, 共 26 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
uidint(10)用户ID无索引
nicknamechar(32)昵称普通索引
sextinyint(3)0性别无索引0
birthdaydate0000-00-00生日无索引0000-00-00
qqchar(10)qq号无索引
loginint(10)0登录次数无索引0
reg_ipbigint(20)0注册IP无索引0
reg_timeint(10)0注册时间无索引0
last_login_ipbigint(20)0最后登录IP无索引0
last_login_timeint(10)0最后登录时间无索引0
yesapi_zhiguo_ocenter_member_statustinyint(4)0会员状态普通索引0
last_login_roleint(11)无索引
show_roleint(11)个人主页显示角色无索引
signaturetext无索引
pos_provincevarchar(10)无索引
pos_cityvarchar(11)无索引
pos_districtvarchar(11)无索引
pos_communityint(11)无索引
score1double0用户积分无索引0
score2double0score2无索引0
score3double0score3无索引0
score4double0score4无索引0
con_checkint(11)0无索引0
total_checkint(11)0无索引0
fansint(11)0粉丝数无索引0
session_idvarchar(225)无索引

猜你喜欢

MySQL数据库设计 智果内容付费-中国省市区乡镇数据表

MySQL数据库设计 智果内容付费-系统行为表

MySQL数据库设计 智果内容付费-

MySQL数据库设计 智果内容付费-行为日志表

MySQL数据库设计 智果内容付费-插件表

MySQL数据库设计 智果内容付费-附件表

MySQL数据库设计 智果内容付费-权限组与分类的对应关系表

MySQL数据库设计 智果内容付费-权限分组

MySQL数据库设计 智果内容付费-权限妥组接入

MySQL数据库设计 智果内容付费-授权规则

MySQL数据库设计 智果内容付费-头像

MySQL数据库设计 智果内容付费-表达式

MySQL数据库设计 智果内容付费-表达式包

MySQL数据库设计 智果内容付费-i表达式

MySQL数据库设计 智果内容付费-i表达式链接

MySQL数据库设计 智果内容付费-频道

MySQL数据库设计 智果内容付费-用户导航

MySQL数据库设计 智果内容付费-登记

MySQL数据库设计 智果内容付费-配置

MySQL数据库设计 智果内容付费-中国省市区乡镇数据表



回到顶部 ↑