From 82acbc574535220e06435f926b758e49b6f305a9 Mon Sep 17 00:00:00 2001 From: xiaozzzi <42293085+xiaozzzi@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:20:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=AE=BF=E9=97=AEIP?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blossom-backend/backend/src/main/resources/schema-mysql.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blossom-backend/backend/src/main/resources/schema-mysql.sql b/blossom-backend/backend/src/main/resources/schema-mysql.sql index 40d901f..5c4f4cf 100644 --- a/blossom-backend/backend/src/main/resources/schema-mysql.sql +++ b/blossom-backend/backend/src/main/resources/schema-mysql.sql @@ -422,6 +422,11 @@ CREATE TABLE IF NOT EXISTS `blossom_article_view` ROW_FORMAT = DYNAMIC COMMENT ='文章访问记录,ArticleView'; -- ---------------------------- +-- since: 1.16.0 +-- ---------------------------- +alter table blossom_article_view + modify ip varchar(51) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL comment '地址,IPV4/IPV6'; +-- ---------------------------- -- Records of blossom_article_view -- ----------------------------