From 45ece9986a39a01081fab9b224966e1f297d383d Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Thu, 06 Jan 2022 13:40:20 +0800 Subject: [PATCH] 修改建表mac字段长度 --- src/main/resources/mapper/HistoryFiveMinutelyMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml b/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml index eadaddb..695c213 100644 --- a/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml +++ b/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml @@ -43,7 +43,7 @@ <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, KEY `idx_time` (`time`), -- Gitblit v1.8.0