Merge pull request 'Add ability to skip migrations in API' (#11) from skipped-migrations into master

Reviewed-on: SelfPrivacy/selfprivacy-nixos-config#11
master
Inex Code 2022-01-14 02:58:58 +02:00
commit d4bb381693
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 #