Versions in this module Expand all Collapse all v0 v0.2.0 Apr 23, 2026 Changes in this version + type Adapter struct + func NewAdapter(d Driver) *Adapter + func (a *Adapter) Down(ctx context.Context, req Request) (Result, error) + func (a *Adapter) Goto(ctx context.Context, req Request, target string) (Result, error) + func (a *Adapter) Name() string + func (a *Adapter) Status(ctx context.Context, req Request) (Status, error) + func (a *Adapter) Up(ctx context.Context, req Request) (Result, error) + type Driver = interfaces.MigrationDriver + type Options = interfaces.MigrationOptions + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Get(name string) (Driver, error) + func (r *Registry) MustRegister(d Driver) + func (r *Registry) Names() []string + func (r *Registry) Register(d Driver) error + type Request = interfaces.MigrationRequest + type Result = interfaces.MigrationResult + type Source = interfaces.MigrationSource + type Status = interfaces.MigrationStatus