github.com/gobuffalo/buffalo-cli/v2@v2.0.0-alpha.15.0.20200919213536-a7350c8e6799/cli/internal/plugins/pop/setup/ifaces.go (about)

     1  package setup
     2  
     3  import "context"
     4  
     5  type Migrater interface {
     6  	MigrateDB(ctx context.Context, root string, args []string) error
     7  }
     8  
     9  type DBSeeder interface {
    10  	SeedDB(ctx context.Context, root string, args []string) error
    11  }