1
This commit is contained in:
parent
2324aadc59
commit
877585442b
@ -29,6 +29,7 @@ DROP TABLE IF EXISTS `t_user`;
|
||||
CREATE TABLE `t_user` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)',
|
||||
`channel` int(11) NOT NULL DEFAULT '0' COMMENT 'channel',
|
||||
`name` tinyblob COMMENT '用户名字',
|
||||
`sex` int(11) NOT NULL DEFAULT '0' COMMENT '性别',
|
||||
`head_id` int(11) NOT NULL DEFAULT '0' COMMENT '头像id',
|
||||
@ -55,7 +56,8 @@ CREATE TABLE `t_user` (
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
UNIQUE KEY `account_id` (`account_id`)
|
||||
UNIQUE KEY `account_id` (`account_id`),
|
||||
KEY `channel` (`channel`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user