diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-09 21:38:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-09 21:38:11 +0100 |
commit | edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3 (patch) | |
tree | edd391f744e5882e25dddd69f25be564264ebfcc | |
parent | 504f37e806fec0077fa894955c818578f68a69b1 (diff) | |
download | nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar.gz nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar.bz2 nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.tar.xz nixos-edd2494e67cc92b8fb4a0ff706ea3a53248ca6d3.zip |
Adjust schema
-rw-r--r-- | bragi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | }; |