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.

CREATE USER {{relayer_db_user}} WITH ENCRYPTED PASSWORD '{{relayer_db_pass}}';
CREATE DATABASE {{relayer_db}} WITH OWNER {{relayer_db_user}};