Skip to content

Commit

Permalink
fix grant permissions to public schema
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 22, 2024
1 parent 131e0bc commit 1fcc481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
pkgx psql --host=localhost -d postgres -U `whoami` -c 'CREATE USER postgres CREATEROLE;'
pkgx psql --host=localhost -d postgres -U `whoami` -c 'GRANT ALL PRIVILEGES ON DATABASE s2 TO postgres;'
pkgx psql --host=localhost -d postgres -U `whoami` -c 'GRANT ALL ON SCHEMA public TO postgres;'
pkgx psql --host=localhost -d postgres -U `whoami` -c 'GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO postgres;'
pkgx psql --host=localhost -d postgres -U `whoami` -c 'ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO postgres;'
go install gotest.tools/gotestsum@latest
PATH=$HOME/go/bin:$PATH gotestsum --junitfile junit.xml ./...
env:
Expand Down

0 comments on commit 1fcc481

Please sign in to comment.