kanidm: apply migration fixes

It was noticed, that on a direct upgrade from alpha10 to beta12 a
partial migration would take place, which would fail, but not rollback
completely.

This would then prevent an upgrade from alpha10 to alpha11 and leave you
in an unusable state, requiring you to restore from a backup.

Upstream now quickly provided a maintenance branch for beta12, to which
we are forwarding here.

(cherry picked from commit 0896ea435b)
This commit is contained in:
Martin Weinelt
2023-07-03 14:08:13 +02:00
committed by github-actions[bot]
parent aed4b19d31
commit bd4ac56c2b
2 changed files with 192 additions and 230 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -23,8 +23,8 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-ZlUn7m5xgMWWIr9y/dkM/yZ2KF2LdkaxqtHsMcxAT/M=";
rev = "f5924443f08e462067937a5dd0e2c19e5e1255da";
hash = "sha256-kJUxVrGpczIdOqKQbgRp1xERfKP6C0SDQgWdjtSuvZ8=";
};
cargoLock = {