Skip to content

Commit

Permalink
give root grant
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Jan 16, 2019
1 parent e248a11 commit d673fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/setup_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ if [[ -n $CIRCLECI ]]; then
fi

createdb dbt
psql -c "CREATE ROLE root WITH PASSWORD 'password';"
psql -c "CREATE ROLE root WITH PASSWORD 'password'"
psql -c "ALTER ROLE root WITH GRANT option;"
psql -c "ALTER ROLE root WITH LOGIN;"
psql -c "GRANT CREATE, CONNECT ON DATABASE dbt TO root;"

Expand Down

0 comments on commit d673fa6

Please sign in to comment.