summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-09 21:38:11 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-09 21:38:11 +0100
commitedd2494e67cc92b8fb4a0ff706ea3a53248ca6d3 (patch)
treeedd391f744e5882e25dddd69f25be564264ebfcc
parent504f37e806fec0077fa894955c818578f68a69b1 (diff)
downloadnixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar
nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar.gz
nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar.bz2
nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar.xz
nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.zip
Adjust schema
-rw-r--r--bragi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index c363b22e..3fc941cc 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -363,8 +363,8 @@ in rec {
363 local all all peer 363 local all all peer
364 ''; 364 '';
365 initialScript = pkgs.writeText "schema.sql" '' 365 initialScript = pkgs.writeText "schema.sql" ''
366 CREATE DATABASE thermoprint;
367 CREATE USER thermoprint; 366 CREATE USER thermoprint;
367 CREATE DATABASE thermoprint WITH OWNER = thermoprint;
368 GRANT ALL ON DATABASE thermoprint TO thermoprint; 368 GRANT ALL ON DATABASE thermoprint TO thermoprint;
369 ''; 369 '';
370 }; 370 };