13 lines
533 B
Bash
13 lines
533 B
Bash
#!/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
|