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.
2 parents 634cff8 + 7eb83ff commit 3fac0ceCopy full SHA for 3fac0ce
runtime/functions
@@ -342,6 +342,9 @@ create_database() {
342
if [[ -n ${DB_USER} ]]; then
343
echo "‣ Granting access to ${DB_USER} user..."
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
348
fi
349
done
350
;;
0 commit comments