diff options
Diffstat (limited to 'hosts/surtr/postgresql.nix')
-rw-r--r-- | hosts/surtr/postgresql.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/surtr/postgresql.nix b/hosts/surtr/postgresql.nix index 88430823..e622f4e9 100644 --- a/hosts/surtr/postgresql.nix +++ b/hosts/surtr/postgresql.nix | |||
@@ -10,10 +10,10 @@ | |||
10 | GRANT ALL PRIVILEGES ON DATABASE "matrix-synapse" TO "matrix-synapse"; | 10 | GRANT ALL PRIVILEGES ON DATABASE "matrix-synapse" TO "matrix-synapse"; |
11 | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "matrix-synapse"; | 11 | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "matrix-synapse"; |
12 | 12 | ||
13 | CREATE DATABASE "ma1sd" WITH TEMPLATE "template0" ENCODING "UTF8" LOCALE "C"; | 13 | CREATE DATABASE "mxisd" WITH TEMPLATE "template0" ENCODING "UTF8" LOCALE "C"; |
14 | CREATE USER "ma1sd"; | 14 | CREATE USER "mxisd"; |
15 | GRANT ALL PRIVILEGES ON DATABASE "ma1sd" TO "ma1sd"; | 15 | GRANT ALL PRIVILEGES ON DATABASE "mxisd" TO "mxisd"; |
16 | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "ma1sd"; | 16 | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "mxisd"; |
17 | ''; | 17 | ''; |
18 | }; | 18 | }; |
19 | }; | 19 | }; |