From 472357f94488ccce349f4bdd6526ee9ea08a4962 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 23 Nov 2023 00:13:54 +0530 Subject: [PATCH] migrate to ensureDBOwnership --- hosts/rico1/services/postgresql.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/rico1/services/postgresql.nix b/hosts/rico1/services/postgresql.nix index c11fffc..5783ae6 100644 --- a/hosts/rico1/services/postgresql.nix +++ b/hosts/rico1/services/postgresql.nix @@ -10,9 +10,7 @@ ensureUsers = [ { name = "dendrite"; - ensurePermissions = { - "DaTABASE dendrite" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; };