From bdc2741af1f3c06c75805ec5058f017cb733fc50 Mon Sep 17 00:00:00 2001 From: zyx Date: Sat, 12 Oct 2019 11:07:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B6=E6=8C=81=E5=8F=B7=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E9=98=B2=E6=8A=A4=E6=97=A5=E5=BF=97=E8=A1=A8=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/Data/update.sql b/Data/update.sql index cfc582ede..b15149fbe 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -74,9 +74,28 @@ ALTER TABLE `tab_game` ADD COLUMN `detail_content` MEDIUMTEXT NULL DEFAULT NULL -- ---------------------------- ALTER TABLE `tab_promote` ADD COLUMN `child_game_permission` tinyint(2) NOT NULL DEFAULT 0 COMMENT '下级游戏添加权限 0-本账号已添加游戏 1-所有游戏' AFTER `idcard`; +-- 2019-10-11 cxj +ALTER TABLE `tab_apply` ADD COLUMN `bale_sort` int(5) NOT NULL DEFAULT 0 COMMENT '打包顺序' AFTER `offline_status`; + -- ---------------------------- -- 2019-10-11 zyx -- ---------------------------- -ALTER TABLE `tab_support` ADD COLUMN `freeze` tinyint(2) NOT NULL DEFAULT 1 COMMENT '0-冻结 1-启用' AFTER `notice_status`; --- 2019-10-11 cxj -ALTER TABLE `tab_apply` ADD COLUMN `bale_sort` int(5) NOT NULL DEFAULT 0 COMMENT '打包顺序' AFTER `offline_status`; \ No newline at end of file +ALTER TABLE `tab_user` ADD COLUMN `last_device_number` varchar(50) DEFAULT '' COMMENT '上一次登录设备号' AFTER `device_number`; +ALTER TABLE `tab_user` ADD COLUMN `last_login_ip` varchar(16) DEFAULT '' COMMENT '上一次登录id' AFTER `login_ip`; + +CREATE TABLE `tab_protect_log` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `game_id` int(11) NOT NULL DEFAULT '0' COMMENT '游戏id', + `game_name` varchar(30) NOT NULL DEFAULT '' COMMENT '游戏名称', + `server_id` int(11) NOT NULL DEFAULT '0' COMMENT '服务器id', + `server_name` varchar(30) NOT NULL DEFAULT '' COMMENT '游戏服务区', + `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id', + `user_account` varchar(30) NOT NULL DEFAULT '' COMMENT '测试账号', + `nickname` varchar(30) NOT NULL DEFAULT '' COMMENT '角色名称', + `promote_id` int(11) NOT NULL DEFAULT '0' COMMENT '推广员id', + `promote_account` varchar(30) NOT NULL DEFAULT '' COMMENT '推广员', + `type` tinyint(2) DEFAULT '1' COMMENT '异常类型', + `detail` varchar(200) DEFAULT '' COMMENT '异常内容', + `create_time` int(11) DEFAULT '0' COMMENT '创建时间', + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; \ No newline at end of file