Added 'GRANT ALL ON DATABASE eventsourcing' to GitHub actions workflow.
@@ -41,6 +41,7 @@ jobs:
run: |
PGPASSWORD=postgres psql -c 'CREATE DATABASE eventsourcing;' -U postgres -h localhost
PGPASSWORD=postgres psql -c "CREATE USER eventsourcing WITH PASSWORD 'eventsourcing';" -U postgres -h localhost
+ PGPASSWORD=postgres psql -c "GRANT ALL ON DATABASE eventsourcing TO eventsourcing;" -U postgres -h localhost
PGPASSWORD=postgres psql -c "GRANT ALL ON SCHEMA public TO eventsourcing;" -U postgres -h localhost
PGPASSWORD=postgres psql eventsourcing -c "CREATE SCHEMA myschema AUTHORIZATION eventsourcing" -U postgres -h localhost
