diff --git a/Data/update.sql b/Data/update.sql index 32002f342..54a7f8f23 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1755,3 +1755,13 @@ INSERT INTO `tab_tool` (`name`,`title`, `config`,`type`, `status`, `create_time` --新增上游结算接口 INSERT INTO `sys_kv` (`key`, `value`, `type`, `remark`) VALUES ('aggregate_cp_settlement_api', 'http://admin.wmtxkj.com/index.php?g=api&m=FinanceWeekCount&a=returnCPSettlement', 'string', '聚合cp结算Api地址'); + +--修改公司与游戏比例 +TRUNCATE TABLE `tab_promote_game_ratio`; +TRUNCATE TABLE `tab_promote_game_ratio_log`; + +ALTER TABLE `tab_promote_game_ratio` +CHANGE COLUMN `promote_id` `company_id` int(11) NOT NULL DEFAULT 0 COMMENT '下游推广公司id' AFTER `id`; + +ALTER TABLE `tab_promote_game_ratio_log` +CHANGE COLUMN `promote_id` `company_id` int(11) NOT NULL DEFAULT 0 COMMENT '下游推广公司id' AFTER `id`;