We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1697c40 commit c9124ddCopy full SHA for c9124dd
runtime/functions
@@ -344,7 +344,7 @@ create_database() {
344
psql -U ${PG_USER} -c "GRANT ALL PRIVILEGES ON DATABASE \"${database}\" to \"${DB_USER}\";" >/dev/null
345
346
echo "‣ Granting access on public schema to user '${DB_USER}'"
347
- 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
348
fi
349
done
350
;;
0 commit comments