daddy/internal/migration/migration.go

10 lines
140 B
Go
Raw Permalink Normal View History

package migration
import "context"
type Migration interface {
Version() string
Up(context.Context) error
Down(context.Context) error
}