diff --git a/Data/update.sql b/Data/update.sql index b1dd63db4..1ca013245 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -492,8 +492,8 @@ CREATE TABLE `tab_device_statistics` ( PRIMARY KEY (`id`) USING BTREE, INDEX `time`(`time`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 163 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; - SET FOREIGN_KEY_CHECKS = 1; + ALTER TABLE `platform`.`tab_device_record` ADD INDEX `create_time`(`create_time`) USING BTREE, ADD INDEX `unique_code`(`unique_code`) USING BTREE,