fix: validate explicit migrations and preserve large business ids
This commit is contained in:
@@ -16,3 +16,7 @@ func Migrations() []migration.Step {
|
||||
}},
|
||||
}
|
||||
}
|
||||
|
||||
func CheckSchema(db *gorm.DB) error {
|
||||
return migration.CheckModels(db, &paymentOrderPO{}, &paymentEventPO{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user