From 628bffd21ab42699a2e439c1ba235041e93a2ca6 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Thu, 30 Nov 2023 17:40:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=A1=A8=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/common.sql | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/sql/common.sql b/sql/common.sql index deb1a247..e1a2affb 100644 --- a/sql/common.sql +++ b/sql/common.sql @@ -70,8 +70,8 @@ CREATE TABLE `wvp_common_region` CREATE TABLE `wvp_common_platform_channel` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT, - `platform_id` varchar(50) NOT NULL, - `common_gb_channel_id` varchar(50) NOT NULL, + `platform_id` bigint unsigned NOT NULL, + `common_gb_channel_id` bigint unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`), UNIQUE KEY `uk_platform_id_common_gb_channel_id` (`platform_id`,`common_gb_channel_id`) @@ -79,17 +79,10 @@ CREATE TABLE `wvp_common_platform_channel` DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci; -CREATE TABLE `wvp_common_platform_region` -( - `id` bigint unsigned NOT NULL AUTO_INCREMENT, - `platform_id` varchar(50) NOT NULL, - `region_id` varchar(50) NOT NULL, - PRIMARY KEY (`id`), - UNIQUE KEY `id` (`id`), - UNIQUE KEY `uk_platform_region_id` (`platform_id`,`region_id`) -) ENGINE = InnoDB - DEFAULT CHARSET = utf8mb4 - COLLATE = utf8mb4_0900_ai_ci; +drop table `wvp_platform_catalog`; +drop table `wvp_platform_gb_channel`; +drop table `wvp_platform_gb_stream`; +drop table `wvp_resources_tree`;