sudo -u postgres createuser -s vagrant
sudo -u vagrant createdb -E UTF-8 -O vagrant openstreetmap
sudo -u vagrant createdb -E UTF-8 -O vagrant osm_test
- # add btree_gist extension
- sudo -u vagrant psql -c "create extension btree_gist" openstreetmap
- sudo -u vagrant psql -c "create extension btree_gist" osm_test
fi