fix(keystone): change user mobile field character set to utf8 (#20899)

This commit is contained in:
屈轩
2024-07-27 13:50:04 +08:00
committed by GitHub
parent 3b141651a6
commit 767e68a5a7
+1 -1
View File
@@ -88,7 +88,7 @@ type SUser struct {
// 用户邮箱
Email string `width:"64" charset:"utf8" nullable:"true" index:"true" list:"domain" update:"domain" create:"domain_optional"`
// 用户手机号
Mobile string `width:"20" charset:"ascii" nullable:"true" index:"true" list:"domain" update:"domain" create:"domain_optional"`
Mobile string `width:"20" charset:"utf8" nullable:"true" index:"true" list:"domain" update:"domain" create:"domain_optional"`
// 显示名称,用户登录后显示在右上角菜单入口
Displayname string `with:"128" charset:"utf8" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`