- sudo -u postgres createuser -s vagrant
- sudo -u vagrant -H createdb -E UTF-8 -O vagrant openstreetmap
- sudo -u vagrant -H createdb -E UTF-8 -O vagrant osm_test
- # add btree_gist extension
- sudo -u vagrant -H psql -c "create extension btree_gist" openstreetmap
- sudo -u vagrant -H psql -c "create extension btree_gist" osm_test
+ 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