From 6ed6d5ec8aca98e535b68b2cc5f340250f49fb87 Mon Sep 17 00:00:00 2001 From: wyb <1164642317@qq.com> Date: Thu, 22 Dec 2022 15:49:50 +0800 Subject: [PATCH] =?UTF-8?q?[Bugfix]=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98(#840)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/install_guide/版本升级手册.md | 5 ++++- km-dist/init/sql/ddl-logi-security.sql | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/install_guide/版本升级手册.md b/docs/install_guide/版本升级手册.md index 2a9951b1..691281f6 100644 --- a/docs/install_guide/版本升级手册.md +++ b/docs/install_guide/版本升级手册.md @@ -6,7 +6,10 @@ ### 升级至 `master` 版本 -暂无 +**SQL 变更** +```sql +alter TABLE logi_security_user MODIFY phone VARCHAR(20); +``` ### 升级至 `3.2.0` 版本 diff --git a/km-dist/init/sql/ddl-logi-security.sql b/km-dist/init/sql/ddl-logi-security.sql index 3e37e5b0..4f37f226 100644 --- a/km-dist/init/sql/ddl-logi-security.sql +++ b/km-dist/init/sql/ddl-logi-security.sql @@ -135,7 +135,7 @@ CREATE TABLE `logi_security_user` pw varchar(2048) not null comment '用户密码', salt char(5) default '' not null comment '密码盐', real_name varchar(128) default '' not null comment '真实姓名', - phone char(11) default '' not null comment 'mobile', + phone char(20) default '' not null comment 'mobile', email varchar(30) default '' not null comment 'email', dept_id int null comment '所属部门id', is_delete tinyint(1) default 0 not null comment '逻辑删除',