Workaround postgresql insufficient permissions
This commit is contained in:
parent
5f7dbb645a
commit
dbcfe4bc66
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
psql -Upostgres -c "grant all on all tables in schema public to risotto" risotto
|
||||
psql -Upostgres -c "grant all on all sequences in schema public to risotto" risotto
|
||||
psql -Upostgres -c "grant all on all functions in schema public to risotto" risotto
|
||||
psql -Upostgres -c "grant all on all tables in schema public to tiramisu" tiramisu
|
||||
psql -Upostgres -c "grant all on all sequences in schema public to tiramisu" tiramisu
|
||||
psql -Upostgres -c "grant all on all functions in schema public to tiramisu" tiramisu
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue