From 0a7973ae3c1be42164794fa4e5819f8904ac623f Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Wed, 11 Dec 2019 16:17:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=B9=B3=E5=8F=B0>=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=AE=A1=E7=90=86>=E5=85=85=E5=80=BC=E7=8E=A9?= =?UTF-8?q?=E5=AE=B6--=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index ec8fee41a..49226d3df 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -697,4 +697,17 @@ ALTER TABLE `tab_pay_info` ADD COLUMN `game_player_id` varchar(30) DEFAULT '0' C ALTER TABLE `tab_pay_info` ADD COLUMN `sdk_version` tinyint(2) DEFAULT '1' COMMENT '区别sdk版本1安卓 2苹果 '; ALTER TABLE `tab_pay_info` ADD COLUMN `promote_account` varchar(30) DEFAULT '' COMMENT '推广员账号'; -- 菜单(游戏充值预下单) -INSERT INTO `sys_menu`(`title`, `pid`, `sort`, `url`, `hide`, `tip`, `group`, `is_dev`, `status`) VALUES ('游戏充值预下单', 16, 0, 'BehaviorLog/game', 0, '', '行为日志', 0, 1); \ No newline at end of file +INSERT INTO `sys_menu`(`title`, `pid`, `sort`, `url`, `hide`, `tip`, `group`, `is_dev`, `status`) VALUES ('游戏充值预下单', 16, 0, 'BehaviorLog/game', 0, '', '行为日志', 0, 1); + +--2019-12-11 cxj +--玩家角色每日登录记录表 +CREATE TABLE `tab_user_play_login_record_by_day` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_id` int(11) NOT NULL DEFAULT 0 COMMENT '玩家id', + `game_id` int(11) NOT NULL DEFAULT 0 COMMENT '游戏id', + `server_id` varchar(30) NOT NULL DEFAULT '' COMMENT '区服id', + `role_id` varchar(30) NOT NULL DEFAULT '' COMMENT '角色id', + `create_time` int(10) NOT NULL DEFAULT 0 COMMENT '创建时间', + PRIMARY KEY (`id`), + INDEX `search`(`user_id`, `game_id`, `create_time`) USING BTREE +); \ No newline at end of file