diff --git a/internal/msgtransfer/init.go b/internal/msgtransfer/init.go index 589e81726..19dda963e 100644 --- a/internal/msgtransfer/init.go +++ b/internal/msgtransfer/init.go @@ -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 {