From b2afda8202e5316d9e5310792b555941cadb5d5f Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 22 Nov 2023 21:43:34 +0900 Subject: chore: ensurePermissions -> ensureDBOwnership --- modules/services/matrix-bridge.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/services/matrix-bridge.nix') diff --git a/modules/services/matrix-bridge.nix b/modules/services/matrix-bridge.nix index bacd26d..3422a76 100644 --- a/modules/services/matrix-bridge.nix +++ b/modules/services/matrix-bridge.nix @@ -192,15 +192,15 @@ in services.postgresql.ensureUsers = [ { name = "mautrix-telegram"; - ensurePermissions."DATABASE \"mautrix-telegram\"" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "mautrix-signal"; - ensurePermissions."DATABASE \"mautrix-signal\"" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "mautrix-whatsapp"; - ensurePermissions."DATABASE \"mautrix-whatsapp\"" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; -- cgit 1.4.1