From f4effc746d543b13e2cef8a2c208138d1f619e1b Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 16 Dec 2019 16:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Data/update.sql b/Data/update.sql index 292053b26..bf24fab5d 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -702,6 +702,16 @@ MODIFY COLUMN `game_player_id` varchar(255) NULL DEFAULT '0' COMMENT '玩家游 ALTER TABLE `tab_pay_info` ADD COLUMN `ip` varchar(255) NOT NULL DEFAULT '0' AFTER `promote_account`, ADD COLUMN `pay_way` int NOT NULL DEFAULT 0 AFTER `ip`; +-- 默认值处理 tping +ALTER TABLE `tab_pay_info` +MODIFY COLUMN `user_account` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '用户账号' AFTER `txn_time`, +MODIFY COLUMN `game_player_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '游戏玩家昵称' AFTER `user_account`, +MODIFY COLUMN `game_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '游戏名称' AFTER `game_player_name`, +MODIFY COLUMN `server_id` int(11) NOT NULL DEFAULT 0 COMMENT '区服id' AFTER `game_name`, +MODIFY COLUMN `server_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '区服名称' AFTER `server_id`, +MODIFY COLUMN `game_player_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '玩家游戏内id' AFTER `promote_id`, +MODIFY COLUMN `sdk_version` tinyint(2) NOT NULL DEFAULT 1 COMMENT '区别sdk版本1安卓 2苹果 ' AFTER `game_player_id`, +MODIFY COLUMN `promote_account` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '推广员账号' AFTER `sdk_version`; -- 苹果内购 tping ALTER TABLE `tab_spend_distinction`