mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: db/redis/mongo连接代码包独立
This commit is contained in:
@@ -43,7 +43,7 @@ func T2022() *gormigrate.Migration {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := tx.AutoMigrate(&entity2.Instance{}); err != nil {
|
||||
if err := tx.AutoMigrate(&entity2.DbInstance{}); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := tx.AutoMigrate(&entity2.Db{}); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user