|
|
|
@ -78,7 +78,7 @@ func initMysqlDB() {
|
|
|
|
|
&GroupMember{},
|
|
|
|
|
&GroupRequest{},
|
|
|
|
|
&User{},
|
|
|
|
|
&Black{}, &ChatLog{}, &Register{}, &Conversation{}, &AppVersion{}, &Department{}, &BlackList{}, &IpLimit{}, &UserIpLimit{})
|
|
|
|
|
&Black{}, &ChatLog{}, &Register{}, &Conversation{}, &AppVersion{}, &Department{}, &BlackList{}, &IpLimit{}, &UserIpLimit{}, &Invitation{})
|
|
|
|
|
db.Set("gorm:table_options", "CHARSET=utf8")
|
|
|
|
|
db.Set("gorm:table_options", "collation=utf8_unicode_ci")
|
|
|
|
|
|
|
|
|
|