Use ensureDBOwnership instead of ensurePermissions
This commit is contained in:
parent
b243ca4445
commit
e7b4c81f29
3 changed files with 5 additions and 11 deletions
|
@ -77,7 +77,7 @@
|
|||
ensureDatabases = [ "grafana" ];
|
||||
ensureUsers = [{
|
||||
name = "grafana";
|
||||
ensurePermissions = { "DATABASE grafana" = "ALL PRIVILEGES"; };
|
||||
ensureDBOwnership = true;
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue