Add ability to skip migrations in API

pull/11/head
Inex Code 2022-01-14 03:43:26 +03:00
parent f5ec301441
commit c3ee4d00fc
2 changed files with 13 additions and 0 deletions

View File

@ -43,6 +43,12 @@
},
"enableSwagger": {
"type": "boolean"
},
"skippedMigrations": {
"type": "array",
"items": {
"type": "string"
}
}
}
},

View File

@ -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 #