From 8c31930ca93ba71a7b6a49ccddf213eec8fbb013 Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Tue, 26 Nov 2019 17:25:39 +0800 Subject: [PATCH] =?UTF-8?q?sql=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/Data/update.sql b/Data/update.sql index 94348d11c..14be61b6d 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -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 ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; ---身份证认证信息 +-- 身份证认证信息 CREATE TABLE `tab_idcard_log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(80) NOT NULL COMMENT '姓名', @@ -538,12 +538,36 @@ CREATE TABLE `tab_idcard_log` ( PRIMARY KEY (`id`) ) 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` ADD COLUMN `last_up_update_time` int(10) NOT NULL DEFAULT 0 COMMENT '最后更新时间', ADD COLUMN `spend_ids` longtext NOT NULL COMMENT '充值订单id'; ---推广员添加oa关联 +-- 推广员添加oa关联 ALTER TABLE `tab_promote` ADD COLUMN`oa_associated` tinyint(1) DEFAULT '0' COMMENT 'oa是否关联',