Remove old cruff, server is 23.11 now
This commit is contained in:
parent
2d726f8c04
commit
44305d6805
8 changed files with 40 additions and 904 deletions
|
@ -9,9 +9,7 @@ let
|
|||
# to that database.
|
||||
userFromDatabase = databaseName: {
|
||||
name = databaseName;
|
||||
ensurePermissions = {
|
||||
"DATABASE \"${databaseName}\"" = "ALL PRIVILEGES";
|
||||
};
|
||||
ensureDBOwnership = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -32,10 +30,7 @@ in
|
|||
|
||||
ensureDatabases = cfg.databases;
|
||||
|
||||
ensureUsers = (map userFromDatabase cfg.databases) ++ [{
|
||||
name = "root";
|
||||
ensurePermissions = { "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES"; };
|
||||
}];
|
||||
ensureUsers = (map userFromDatabase cfg.databases);
|
||||
};
|
||||
|
||||
# Backup settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue