From edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 9 Mar 2017 21:38:11 +0100 Subject: Adjust schema --- bragi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bragi.nix b/bragi.nix index c363b22e..3fc941cc 100644 --- a/bragi.nix +++ b/bragi.nix @@ -363,8 +363,8 @@ in rec { local all all peer ''; initialScript = pkgs.writeText "schema.sql" '' - CREATE DATABASE thermoprint; CREATE USER thermoprint; + CREATE DATABASE thermoprint WITH OWNER = thermoprint; GRANT ALL ON DATABASE thermoprint TO thermoprint; ''; }; -- cgit v1.2.3