migrate to ensureDBOwnership
This commit is contained in:
parent
6c9b67974b
commit
61b366f5f6
|
@ -89,7 +89,7 @@ in
|
||||||
ensureDatabases = [ "matrix-sliding-sync" ];
|
ensureDatabases = [ "matrix-sliding-sync" ];
|
||||||
ensureUsers = [ rec {
|
ensureUsers = [ rec {
|
||||||
name = "matrix-sliding-sync";
|
name = "matrix-sliding-sync";
|
||||||
ensurePermissions."DATABASE \"${name}\"" = "ALL PRIVILEGES";
|
ensureDBOwnership = true;
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue