Skip to content

Commit

Permalink
module: update postgres config (ensurePermissions -> ensureDBOwnership)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliButz committed Dec 10, 2023
1 parent aeba812 commit 332d717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ in
package = pkgs.postgresql_14;
ensureDatabases = mkIf cfg.createDatabase [ "authentik" ];
ensureUsers = mkIf cfg.createDatabase [
{ name = "authentik"; ensurePermissions."DATABASE authentik" = "ALL PRIVILEGES"; }
{ name = "authentik"; ensureDBOwnership = true; }
];
};
};
Expand Down

0 comments on commit 332d717

Please sign in to comment.