Skip to content

Commit

Permalink
restored root auth commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rvacaru committed Oct 8, 2021
1 parent 05ea00e commit 839ed70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/setup_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ until pg_isready -h ${PGHOST} -p ${PGPORT} -U ${PGUSER}; do
sleep 2;
done;

psql -c "CREATE ROLE root WITH PASSWORD 'password';"
psql -c "ALTER ROLE root WITH LOGIN;"
psql -c "CREATE ROLE noaccess WITH PASSWORD 'password' NOSUPERUSER;"
psql -c "ALTER ROLE noaccess WITH LOGIN;"
psql -c "GRANT CONNECT ON DATABASE dbt TO noaccess;"
Expand Down

0 comments on commit 839ed70

Please sign in to comment.