mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-29 01:18:54 +00:00
8 lines
250 B
Bash
8 lines
250 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
|
||
|
create role chirpstack_integration with login password 'chirpstack_integration';
|
||
|
create database chirpstack_integration with owner chirpstack_integration;
|
||
|
EOSQL
|