mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-05 20:11:14 +08:00
gorm chat_logs init
This commit is contained in:
parent
7930a8bf85
commit
d345fc80c7
@ -34,7 +34,7 @@ func StartTransfer(prometheusPort int) error {
|
||||
return err
|
||||
}
|
||||
if err := db.AutoMigrate(&relationTb.ChatLogModel{}); err != nil {
|
||||
return err
|
||||
fmt.Printf("gorm: AutoMigrate ChatLogModel err: %v\n", err)
|
||||
}
|
||||
rdb, err := cache.NewRedis()
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user