默认值处理

master
tpingzhang 5 years ago
parent 621776246a
commit f4effc746d

@ -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`

Loading…
Cancel
Save