添加资源关联表sql
parent
dbe5b8f5a8
commit
ca89fe85b7
|
@ -74,15 +74,14 @@ CREATE TABLE `wvp_common_platform_channel`
|
||||||
UNIQUE KEY `uk_platform_id_common_gb_channel_id` (`platform_id`,`common_gb_channel_id`)
|
UNIQUE KEY `uk_platform_id_common_gb_channel_id` (`platform_id`,`common_gb_channel_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
|
||||||
|
|
||||||
CREATE TABLE `wvp_common_platform_channel`
|
CREATE TABLE `wvp_common_platform_region`
|
||||||
(
|
(
|
||||||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`platform_id` varchar(50) DEFAULT NULL,
|
`platform_id` varchar(50) DEFAULT NULL,
|
||||||
`catalog_id` varchar(50) DEFAULT NULL,
|
`region_id` int DEFAULT NULL,
|
||||||
`device_channel_id` int DEFAULT NULL,
|
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `id` (`id`),
|
UNIQUE KEY `id` (`id`),
|
||||||
UNIQUE KEY `uk_platform_gb_channel_platform_id_catalog_id_device_channel_id` (`platform_id`,`catalog_id`,`device_channel_id`)
|
UNIQUE KEY `uk_platform_region_id` (`platform_id`,`region_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue