From 1f88041780dad4d85bc68bbf4876c80c3fc3b614 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Wed, 31 Aug 2022 17:18:17 +0800 Subject: [PATCH] 修改虎丘区AQI中PM2_5的选值 --- src/main/resources/mapper/HistoryFiveMinutelyMapper.xml | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml b/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml index 3cd8ad5..695c213 100644 --- a/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml +++ b/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml @@ -43,9 +43,11 @@ <update id="createHistoryFiveMinutely" parameterType="String"> CREATE TABLE IF NOT EXISTS `history_five_minutely_${yearAndMonth}` ( - `mac` varchar(20) CHARACTER SET latin1 DEFAULT NULL, + `mac` varchar(30) CHARACTER SET latin1 DEFAULT NULL, `time` datetime DEFAULT NULL, - `json` json DEFAULT NULL + `json` json DEFAULT NULL, + KEY `idx_time` (`time`), + KEY `idx_mac` (`mac`) ) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci </update> -- Gitblit v1.8.0