mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 19:16:35 +08:00
Merge remote-tracking branch 'origin/errcode' into errcode
This commit is contained in:
@@ -45,7 +45,7 @@ func NewUserServer(port int) *userServer {
|
||||
}
|
||||
//mysql init
|
||||
var mysql relation.Mysql
|
||||
var model relation.User
|
||||
var model relation.UserGorm
|
||||
err := mysql.InitConn().AutoMigrateModel(&model)
|
||||
if err != nil {
|
||||
panic("db init err:" + err.Error())
|
||||
|
||||
Reference in New Issue
Block a user