nostr/relayer/templates/setup_db.psql.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 22 Jul 2023 15:50:36 -0500
changeset 217 e69a030975c4
parent 214 relayer/templates/setup_db.psql.j2@3069b7d001f7
child 227 2e0366f2dcbe
permissions -rw-r--r--
Split out nostr install and build roles.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
214
3069b7d001f7 Added nostr relayer role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
CREATE USER {{relayer_db_user}} WITH ENCRYPTED PASSWORD '{{relayer_db_pass}}';
3069b7d001f7 Added nostr relayer role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
CREATE DATABASE {{relayer_db}} WITH OWNER {{relayer_db_user}};