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.
This commit is contained in:
Martin Weinelt 2023-07-03 14:08:13 +02:00
parent 2518f224c5
commit 0896ea435b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
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 = {