Skip to content

Commit

Permalink
grant ALL permissions to PG user (for test)
Browse files Browse the repository at this point in the history
  • Loading branch information
darklynx committed Apr 17, 2023
1 parent f6c9aac commit ac4f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Setup Postgres user
run: PGPASSWORD=postgres psql -h localhost -p 5432 -c "CREATE USER rbaskets WITH PASSWORD 'pwd';" -U postgres
- name: Setup Postgres permissions
run: PGPASSWORD=postgres psql -h localhost -p 5432 -c "GRANT CREATE ON SCHEMA public TO rbaskets;" -U postgres
run: PGPASSWORD=postgres psql -h localhost -p 5432 -c "GRANT ALL ON SCHEMA public TO rbaskets;" -U postgres

- name: Setup Mysql database
run: mysql --password=password -u root -h 127.0.0.1 -P 3306 -e "CREATE DATABASE IF NOT EXISTS baskets ;"
Expand Down

0 comments on commit ac4f323

Please sign in to comment.