From 044f81792f0d5594b6a5f57e3404abbebed2652c Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 22 May 2020 15:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E5=85=B3=E7=B3=BB=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E7=94=B3=E8=AF=B7=E8=AE=B0=E5=BD=95=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Data/update.sql b/Data/update.sql index a8a8883b2..8f7c566b0 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1804,7 +1804,7 @@ CREATE TABLE `tab_company_game_ratio_log` ( KEY `company_id` (`company_id`) USING BTREE, KEY `status` (`status`) USING BTREE, KEY `relation_game_id` (`relation_game_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='推广游戏分成比例申请记录'; +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='推广游戏分成比例申请记录'; CREATE TABLE `tab_company_relation` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -1820,10 +1820,9 @@ CREATE TABLE `tab_company_relation` ( `is_payment` tinyint(3) NOT NULL DEFAULT '1' COMMENT '是否需要打款:1-是 2-否(线下)', `collection` tinyint(2) DEFAULT '1' COMMENT '1甲方收款 2乙方收款', PRIMARY KEY (`id`), - KEY `company_id` (`company_id`) USING BTREE, - KEY `status` (`status`) USING BTREE, - KEY `relation_game_id` (`relation_game_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='公司关系绑定'; + KEY `first_company_id` (`first_company_id`) USING BTREE, + KEY `second_company_id` (`second_company_id`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='公司关系绑定'; CREATE TABLE `tab_company_relation_log` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -1842,7 +1841,8 @@ CREATE TABLE `tab_company_relation_log` ( `status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '审核状态:-2管理员拒绝 -1市场部拒绝 0-待审核 1-市场部通过 2管理员通过', `verify_log` varchar(2000) COLLATE utf8mb4_bin NOT NULL COMMENT '审核详细信息', PRIMARY KEY (`id`), - KEY `company_id` (`company_id`) USING BTREE, - KEY `status` (`status`) USING BTREE, - KEY `relation_game_id` (`relation_game_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='公司关系绑定申请记录'; + KEY `first_company_id` (`first_company_id`) USING BTREE, + KEY `second_company_id` (`second_company_id`) USING BTREE, + KEY `settlement_type` (`settlement_type`) USING BTREE, + KEY `status` (`status`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='公司关系绑定申请记录';