Use ensureDBOwnership instead of ensurePermissions

This commit is contained in:
Charlotte Van Petegem 2023-12-24 12:56:47 +01:00
parent b243ca4445
commit e7b4c81f29
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 5 additions and 11 deletions

View file

@ -77,7 +77,7 @@
ensureDatabases = [ "grafana" ];
ensureUsers = [{
name = "grafana";
ensurePermissions = { "DATABASE grafana" = "ALL PRIVILEGES"; };
ensureDBOwnership = true;
}];
};
};