Create Splatoon database during setup

This commit is contained in:
Matthew Lopez
2024-11-07 16:55:12 -05:00
committed by GitHub
parent 14be37dbe1
commit b47676f213

View File

@@ -2,7 +2,7 @@
set -eu
databases="friends super_mario_maker pikmin3"
databases="friends super_mario_maker pikmin3 splatoon"
for database in $databases; do
if [ "$(psql -At -U "$POSTGRES_USER" -c "SELECT 1 FROM pg_database WHERE datname='$database'")" = '' ]; then