Commit 565c1084 authored by Stefan Bienert's avatar Stefan Bienert
Browse files

Container: Add SQL script to create Django database user

parent a8eb99fa
\set cathapiuser `echo "$DJANGO_DB_USR"`
\set cathapipw `echo "$DJANGO_DB_PW"`
CREATE USER :cathapiuser PASSWORD :'cathapipw' CREATEROLE LOGIN;
\set cathapidb `echo "$POSTGRES_DB"`
GRANT ALL PRIVILEGES ON DATABASE :cathapidb TO :cathapiuser;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment