Versions in this module Expand all Collapse all v0 v0.1.0 Apr 6, 2025 Changes in this version + type Executor struct + func New(cfg *config.Config) (*Executor, error) + func (e *Executor) Close() error + func (e *Executor) Config() *config.Config + func (e *Executor) ExecuteAllMigrations() (int, error) + func (e *Executor) ExecuteMigration(migration migrations.Migration) error + func (e *Executor) ExecuteNextMigration() (bool, error) + func (e *Executor) GetPendingMigrations() []migrations.Migration + func (e *Executor) Status() ([]migrations.Migration, []database.MigrationVersion, error)