diff --git a/Data/update.sql b/Data/update.sql index df2614a60..8247cb1d9 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1073,3 +1073,11 @@ CREATE TABLE `sys_document_pop_rules` ( `operater_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '操作者ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; + +-- 2020-01-14 +-- cxj +ALTER TABLE `tab_promote_game_ratio` +MODIFY COLUMN `turnover_ratio` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '流水分成比例' AFTER `last_ratio_status`, +MODIFY COLUMN `last_turnover_ratio` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '上次流水分成比例'; + +UPDATE tab_spend SET selle_ratio = 0.00 where selle_ratio is null \ No newline at end of file