fix: sqlite数据库位置变更

This commit is contained in:
TsMask committed 2025-02-21 15:15:49 +08:00
1 parent db5e75be6d
commit 04ac9651f2
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -21,8 +21,7 @@ CREATE TABLE `ne_state` (
`disk_space` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`timestamp` datetime NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_ne_type_id`(`ne_type` ASC, `ne_id` ASC) USING BTREE,
INDEX `idx_timestamp`(`timestamp` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8551941 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
INDEX `idx_type_id_time`(`ne_type` ASC, `ne_id` ASC, `timestamp` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
SET FOREIGN_KEY_CHECKS=1;