fp/scripts/supertokens-seed.sh

4 lines
170 B
Bash
Executable File

#!/bin/bash
kubectl -n futureporn exec postgresql-primary-0 -- env PGPASSWORD=${POSTGRES_PASSWORD} psql -U postgres --command "CREATE DATABASE supertokens;"
echo "Done."