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

This commit is contained in:
屈轩
2024-07-27 13:49:52 +08:00
committed by GitHub
parent ecd0596147
commit 7196f36a1e
+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"`