|
@@ -11,14 +11,12 @@
|
|
Target Server Version : 80027
|
|
Target Server Version : 80027
|
|
File Encoding : 65001
|
|
File Encoding : 65001
|
|
|
|
|
|
- Date: 08/05/2025 06:26:52
|
|
|
|
|
|
+ Date: 08/05/2025 06:49:42
|
|
*/
|
|
*/
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
SET NAMES utf8mb4;
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
-USE ancientapes;
|
|
|
|
-
|
|
|
|
-- ----------------------------
|
|
-- ----------------------------
|
|
-- Table structure for area
|
|
-- Table structure for area
|
|
-- ----------------------------
|
|
-- ----------------------------
|
|
@@ -7990,11 +7988,11 @@ DROP TABLE IF EXISTS `t_production_classification_mapping`;
|
|
CREATE TABLE `t_production_classification_mapping` (
|
|
CREATE TABLE `t_production_classification_mapping` (
|
|
`id` int(0) NOT NULL AUTO_INCREMENT,
|
|
`id` int(0) NOT NULL AUTO_INCREMENT,
|
|
`resource_id` int(0) NULL DEFAULT NULL,
|
|
`resource_id` int(0) NULL DEFAULT NULL,
|
|
- `classification_id` int(0) NULL DEFAULT NULL,
|
|
|
|
|
|
+ `production_classification_id` int(0) NULL DEFAULT NULL,
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
INDEX `_resource`(`resource_id`) USING BTREE,
|
|
INDEX `_resource`(`resource_id`) USING BTREE,
|
|
- INDEX `_classification`(`classification_id`) USING BTREE,
|
|
|
|
- CONSTRAINT `_classification` FOREIGN KEY (`classification_id`) REFERENCES `t_production_classification` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,
|
|
|
|
|
|
+ INDEX `_classification`(`production_classification_id`) USING BTREE,
|
|
|
|
+ CONSTRAINT `_classification` FOREIGN KEY (`production_classification_id`) REFERENCES `t_production_classification` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT,
|
|
CONSTRAINT `_resource` FOREIGN KEY (`resource_id`) REFERENCES `t_resource_co` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
|
CONSTRAINT `_resource` FOREIGN KEY (`resource_id`) REFERENCES `t_resource_co` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
|
|
|
|