create extensions in the correct database

This commit is contained in:
Thomas Steen Rasmussen 2020-07-12 22:42:28 +02:00
parent a64781578a
commit 438befe863

View file

@ -16,8 +16,8 @@ addons:
- postgresql-10-postgis-2.5 - postgresql-10-postgis-2.5
before_script: before_script:
- psql -U postgres -c "CREATE EXTENSION postgis" - psql -U postgres -c "CREATE EXTENSION postgis" bornhack
- psql -U postgres -c "CREATE EXTENSION btree_gist" - psql -U postgres -c "CREATE EXTENSION btree_gist" bornhack
- psql -U postgres -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';" - psql -U postgres -c "CREATE ROLE bornhack WITH SUPERUSER LOGIN PASSWORD 'bornhack';"
install: install: