From 7b2a60147a8c14c97428763e55c8cb0d89d16a55 Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Fri, 17 Jan 2020 10:25:14 +0800 Subject: [PATCH] upt --- Data/update.sql | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index 09504f5c4..b7ce1dc74 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1089,4 +1089,19 @@ ADD COLUMN `relation_game_id` int(11) NOT NULL DEFAULT 0 COMMENT '关联游戏id ALTER TABLE `tab_spend` MODIFY COLUMN `selle_status` int(11) NOT NULL DEFAULT 0 COMMENT '渠道结算 0未结算1 结算', -MODIFY COLUMN `selle_ratio` double(5, 2) DEFAULT 0.00 COMMENT '渠道分成比例'; \ No newline at end of file +MODIFY COLUMN `selle_ratio` double(5, 2) DEFAULT 0.00 COMMENT '渠道分成比例'; + +-- 预付款预警 +CREATE TABLE `tab_partner_divide_warn` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '公司预警表', + `partner_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '公司ID', + `advance_amount` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '预付款', + `warming_amount` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '预警金额', + `phones` json DEFAULT NULL, + `warn_frequency` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '预警金额频率', + `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态 1正常 2删除', + `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间', + `upt_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '修改时间', + `operater_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '操作者ID', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; \ No newline at end of file