diff --git a/runtime/functions b/runtime/functions index d0c1bdc..433de51 100755 --- a/runtime/functions +++ b/runtime/functions @@ -344,7 +344,7 @@ create_database() { psql -U ${PG_USER} -c "GRANT ALL PRIVILEGES ON DATABASE \"${database}\" to \"${DB_USER}\";" >/dev/null echo "‣ Granting access on public schema to user '${DB_USER}'" - psql -U ${PG_USER} -c "GRANT ALL ON SCHEMA public TO \"${DB_USER}\";" >/dev/null + psql -U ${PG_USER} -c "GRANT ALL ON SCHEMA public TO \"${DB_USER}\";" -d "${database}" >/dev/null fi done ;;