移除ota_target_device表中的type 字段

This commit is contained in:
eafonyang
2026-06-30 17:42:06 +08:00
parent 23f712cf86
commit 6e8aa239e8
5 changed files with 107 additions and 20 deletions
-1
View File
@@ -25,7 +25,6 @@ CREATE TABLE `ota_target_device` (
`id` int NOT NULL AUTO_INCREMENT,
`ota_id` int NOT NULL,
`mac_addr` varchar(17) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`type` int NOT NULL DEFAULT 1 COMMENT '1-白名单;2-黑名单',
`create_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;