From b23174fc94aabd4dd12f7766c5b76ebadfba1dcb Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Fri, 27 Dec 2019 14:08:34 +0800 Subject: [PATCH] fix: alter user email charset to utf8 --- pkg/keystone/models/users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/keystone/models/users.go b/pkg/keystone/models/users.go index 649c984366..b76889629c 100644 --- a/pkg/keystone/models/users.go +++ b/pkg/keystone/models/users.go @@ -74,7 +74,7 @@ func init() { type SUser struct { SEnabledIdentityBaseResource - Email string `width:"64" charset:"ascii" nullable:"true" index:"true" list:"domain" update:"domain" create:"domain_optional"` + 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"` Displayname string `with:"128" charset:"utf8" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`