fix issues
This commit is contained in:
@@ -8,3 +8,5 @@ type Migration interface {
|
||||
Up(tx *gorm.DB) error
|
||||
Down(tx *gorm.DB) error
|
||||
}
|
||||
|
||||
type MigrationProvider func() Migration
|
||||
|
||||
@@ -9,3 +9,5 @@ import (
|
||||
type Seeder interface {
|
||||
Run(*gofakeit.Faker, *gorm.DB)
|
||||
}
|
||||
|
||||
type SeederProvider func() Seeder
|
||||
|
||||
Reference in New Issue
Block a user