mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-25 20:41:27 +00:00
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:
commit
d4bb381693
|
@ -43,6 +43,12 @@
|
||||||
},
|
},
|
||||||
"enableSwagger": {
|
"enableSwagger": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"skippedMigrations": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -84,6 +84,13 @@ in
|
||||||
'';
|
'';
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
|
skippedMigrations = mkOption {
|
||||||
|
default = [ ];
|
||||||
|
description = ''
|
||||||
|
List of migrations that should be skipped
|
||||||
|
'';
|
||||||
|
type = types.listOf types.str;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
#############
|
#############
|
||||||
# Secrets #
|
# Secrets #
|
||||||
|
|
Loading…
Reference in a new issue