|
|
@ -2483,7 +2483,7 @@ CREATE TABLE `tab_testing_resource_batch` (
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
|
|
|
|
alter table tab_user_play_info add column `game_role_id` varchar(80) DEFAULT '' COMMENT '角色' after role_level;
|
|
|
|
alter table tab_user_play_info add column `game_role_id` varchar(80) not null DEFAULT '' COMMENT '游戏角色标识' after role_level;
|
|
|
|
alter table tab_user_play_info add column `testing_other_quota` decimal(12, 2) DEFAULT '0.00' COMMENT '测试资源额外额度' after promote_account;
|
|
|
|
alter table tab_user_play_info add column `testing_other_quota` decimal(12, 2) not null DEFAULT '0.00' COMMENT '测试资源额外额度' after promote_account;
|
|
|
|
update tab_user_play_info set game_role_id = concat(game_id, '#', role_id);
|
|
|
|
update tab_user_play_info set game_role_id = concat(game_id, '#', role_id);
|
|
|
|
ALTER TABLE `tab_user_play_info` ADD INDEX `index_unique_role`(`game_role_id`);
|
|
|
|
ALTER TABLE `tab_user_play_info` ADD INDEX `index_unique_role`(`game_role_id`);
|