From 81dc94a70de69f45f42b8ca4b702a3a372cf81ac Mon Sep 17 00:00:00 2001
From: lizijie <lzjiiie@163.com>
Date: Tue, 24 May 2022 09:59:07 +0800
Subject: [PATCH] 去除打印
---
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