|
|
|
@ -527,4 +527,17 @@ ALTER TABLE `tab_user_play_data_count`
|
|
|
|
|
ADD INDEX `search`(`game_id`, `server_id`, `role_id`) USING BTREE,
|
|
|
|
|
ADD INDEX `create_time`(`create_time`) USING BTREE;
|
|
|
|
|
ADD INDEX `recharge_cost`(`recharge_cost`) USING BTREE,
|
|
|
|
|
ADD INDEX `recharge_count`(`recharge_count`) USING BTREE;
|
|
|
|
|
ADD INDEX `recharge_count`(`recharge_count`) USING BTREE;
|
|
|
|
|
|
|
|
|
|
--身份证认证信息
|
|
|
|
|
CREATE TABLE `tab_idcard_log` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`name` varchar(80) NOT NULL COMMENT '姓名',
|
|
|
|
|
`id_card` varchar(20) NOT NULL COMMENT '身份证号码',
|
|
|
|
|
`user_id` int(11) NOT NULL COMMENT '用户id',
|
|
|
|
|
`ip` varchar(40) DEFAULT '0' COMMENT 'ip地址',
|
|
|
|
|
`num` int(11) DEFAULT '1' COMMENT '错误次数',
|
|
|
|
|
`status` tinyint(2) DEFAULT '0' COMMENT '0 认证失败 1 认证成功',
|
|
|
|
|
`create_time` int(11) DEFAULT '0' COMMENT '创建时间',
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='身份证认证信息';
|