|
|
@ -525,7 +525,7 @@ CREATE TABLE `tab_user_play_data_count` (
|
|
|
|
KEY `search` (`user_id`,`promote_id`,`game_id`,`server_id`,`role_id`,`create_time`) USING BTREE
|
|
|
|
KEY `search` (`user_id`,`promote_id`,`game_id`,`server_id`,`role_id`,`create_time`) USING BTREE
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
|
|
|
|
--身份证认证信息
|
|
|
|
-- 身份证认证信息
|
|
|
|
CREATE TABLE `tab_idcard_log` (
|
|
|
|
CREATE TABLE `tab_idcard_log` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`name` varchar(80) NOT NULL COMMENT '姓名',
|
|
|
|
`name` varchar(80) NOT NULL COMMENT '姓名',
|
|
|
@ -538,12 +538,36 @@ CREATE TABLE `tab_idcard_log` (
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='身份证认证信息';
|
|
|
|
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='身份证认证信息';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 公告已读表
|
|
|
|
|
|
|
|
CREATE TABLE `tab_notice_read` (
|
|
|
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
|
|
|
`notice_id` int(11) NOT NULL COMMENT '广告id',
|
|
|
|
|
|
|
|
`game_id` int(11) DEFAULT NULL,
|
|
|
|
|
|
|
|
`user_id` int(11) NOT NULL COMMENT '用户id',
|
|
|
|
|
|
|
|
`is_read` tinyint(2) DEFAULT '0' COMMENT '0未读1已读',
|
|
|
|
|
|
|
|
`create_time` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 短信日志
|
|
|
|
|
|
|
|
CREATE TABLE `tab_sms_log` (
|
|
|
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
|
|
|
`code` int(11) DEFAULT NULL COMMENT '验证码',
|
|
|
|
|
|
|
|
`phone` varchar(20) NOT NULL COMMENT '手机号',
|
|
|
|
|
|
|
|
`content` text NOT NULL COMMENT '发送内容',
|
|
|
|
|
|
|
|
`status` tinyint(2) NOT NULL COMMENT '发送状态',
|
|
|
|
|
|
|
|
`msg` varchar(80) DEFAULT NULL COMMENT '发送返回的信息',
|
|
|
|
|
|
|
|
`ip` varchar(20) DEFAULT NULL COMMENT 'ip地址',
|
|
|
|
|
|
|
|
`create_time` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COMMENT='短信日志';
|
|
|
|
|
|
|
|
|
|
|
|
--提现表添加最后更新时间
|
|
|
|
--提现表添加最后更新时间
|
|
|
|
ALTER TABLE `tab_withdraw`
|
|
|
|
ALTER TABLE `tab_withdraw`
|
|
|
|
ADD COLUMN `last_up_update_time` int(10) NOT NULL DEFAULT 0 COMMENT '最后更新时间',
|
|
|
|
ADD COLUMN `last_up_update_time` int(10) NOT NULL DEFAULT 0 COMMENT '最后更新时间',
|
|
|
|
ADD COLUMN `spend_ids` longtext NOT NULL COMMENT '充值订单id';
|
|
|
|
ADD COLUMN `spend_ids` longtext NOT NULL COMMENT '充值订单id';
|
|
|
|
|
|
|
|
|
|
|
|
--推广员添加oa关联
|
|
|
|
-- 推广员添加oa关联
|
|
|
|
ALTER TABLE `tab_promote`
|
|
|
|
ALTER TABLE `tab_promote`
|
|
|
|
ADD COLUMN`oa_associated` tinyint(1) DEFAULT '0' COMMENT 'oa是否关联',
|
|
|
|
ADD COLUMN`oa_associated` tinyint(1) DEFAULT '0' COMMENT 'oa是否关联',
|
|
|
|
|
|
|
|
|
|
|
|