forgejo: updated deprecated setting to ensureDBOwnership

This commit is contained in:
Fiscal Velvet Poet 2024-06-05 22:14:54 +10:00
parent 1fb99ab958
commit 3662f9f588
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47

View file

@ -73,11 +73,7 @@ in {
ensureUsers = [ ensureUsers = [
{ {
name = "forgejo"; # Ensure the database user persists name = "forgejo"; # Ensure the database user persists
ensurePermissions = { ensureDBOwnership = true;
# Ensure the database permissions persist
"DATABASE forgejo" = "ALL PRIVILEGES";
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
};
} }
]; ];
package = pkgs.postgresql_16; package = pkgs.postgresql_16;