diff --git a/userdata/schema.json b/userdata/schema.json index 5115459..778f5e0 100644 --- a/userdata/schema.json +++ b/userdata/schema.json @@ -43,6 +43,12 @@ }, "enableSwagger": { "type": "boolean" + }, + "skippedMigrations": { + "type": "array", + "items": { + "type": "string" + } } } }, diff --git a/variables-module.nix b/variables-module.nix index 2c465cc..47acdfb 100644 --- a/variables-module.nix +++ b/variables-module.nix @@ -84,6 +84,13 @@ in ''; type = types.bool; }; + skippedMigrations = mkOption { + default = [ ]; + description = '' + List of migrations that should be skipped + ''; + type = types.listOf types.str; + }; }; ############# # Secrets #