feat: sql更新

dev_ksck_axxyy
chenhc 11 months ago
parent 45d8c20e40
commit b108828b54

@ -344,8 +344,8 @@ CREATE TABLE IF NOT EXISTS `device_plan_detail_item`
`deviceCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '项目名称',
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '项目内容',
PRIMARY KEY ("planId","productId","itemCode") USING BTREE,
UNIQUE KEY "uk_planId_deviceCode_itemCode" ("planId","itemCode","deviceCode") USING BTREE
PRIMARY KEY (`planId`,`productId`,`itemCode`) USING BTREE,
UNIQUE KEY `uk_planId_deviceCode_itemCode` (`planId`,`itemCode`,`deviceCode`) USING BTREE
) ENGINE=InnoDB
DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci COMMENT='巡检设备的项目'

Loading…
Cancel
Save