package litemigrate type Option func(m *Migrator) func WithPreStepHook(fn func(filename string)) Option { return func(m *Migrator) { m.preStepHooks = append(m.preStepHooks, fn) } }