1
1
mirror of https://github.com/dali99/nixos-matrix-modules.git synced 2024-12-22 02:47:29 +01:00

migrate to ensureDBOwnership

This commit is contained in:
Daniel Lovbrotte Olsen 2024-06-01 11:11:14 +02:00
parent 6c9b67974b
commit 61b366f5f6

View File

@ -89,7 +89,7 @@ in
ensureDatabases = [ "matrix-sliding-sync" ];
ensureUsers = [ rec {
name = "matrix-sliding-sync";
ensurePermissions."DATABASE \"${name}\"" = "ALL PRIVILEGES";
ensureDBOwnership = true;
} ];
};