diff --git a/krab/type_migration_set.go b/krab/type_migration_set.go index 2b3642c..ac28c4d 100644 --- a/krab/type_migration_set.go +++ b/krab/type_migration_set.go @@ -23,9 +23,10 @@ func (ms *MigrationSet) InitDefaults() { ms.Schema = "public" } - if ms.Arguments != nil { - ms.Arguments.InitDefaults() + if ms.Arguments == nil { + ms.Arguments = &Arguments{} } + ms.Arguments.InitDefaults() if ms.Hooks == nil { ms.Hooks = &Hooks{}