nixos: services: migrate to 'ensureDBOwnership'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
`ensurePermissions` is deprecated, and doesn't work on PostgreSQL 15.
This commit is contained in:
parent
60d941b40b
commit
b48d81451d
7 changed files with 7 additions and 11 deletions
|
|
@ -48,9 +48,7 @@ in
|
|||
ensureDatabases = [ "woodpecker" ];
|
||||
ensureUsers = [{
|
||||
name = "woodpecker";
|
||||
ensurePermissions = {
|
||||
"DATABASE woodpecker" = "ALL PRIVILEGES";
|
||||
};
|
||||
ensureDBOwnership = true;
|
||||
}];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue