Versions in this module Expand all Collapse all v1 v1.0.0 Apr 5, 2026 Changes in this version + func RegisterInitCommand(...) + func RegisterMakeFactoryCommand(...) + func RegisterMakeMigrationCommand(...) + func RegisterMakeSeederCommand(...) + func RegisterMigrateCommand(...) + func RegisterMigrateFreshCommand(...) + func RegisterMigrateInstallCommand(...) + func RegisterMigrateRefreshCommand(...) + func RegisterMigrateResetCommand(...) + func RegisterMigrateRollbackCommand(...) + func RegisterMigrateStatusCommand(...) + func RegisterSeedCommand(...) + func RegisterSeedRollbackCommand(...) + func RegisterSeedTruncateCommand(...) + type CommandContext struct + DB *sql.DB + Generator *generator.Generator + Migrator MigratorRunner + Seeder *seeder.Runner + TrackerEnsurer TrackerCreator + type MigrationStatusInfo struct + Applied bool + AppliedAt *time.Time + Batch int + Name string + type MigratorRunner interface + Fresh func() error + Refresh func() error + Reset func() error + Rollback func(steps int) error + Status func() ([]MigrationStatusInfo, error) + Up func() error + type TrackerCreator interface + EnsureTable func() error