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

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/11
This commit is contained in:
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 #