diff --git a/test/setup_db.sh b/test/setup_db.sh index 65cfa2a61ac..0e21641091c 100644 --- a/test/setup_db.sh +++ b/test/setup_db.sh @@ -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;"