]> git.openstreetmap.org Git - rails.git/commitdiff
Vagrant deploy works
authorAmir Wilf <amirwilf@gmail.com>
Sun, 18 Jan 2015 12:14:53 +0000 (14:14 +0200)
committerAmir Wilf <amirwilf@gmail.com>
Sun, 18 Jan 2015 12:14:53 +0000 (14:14 +0200)
Creating extension btree_gist for test DB 'osm_test'

script/vagrant/setup/provision.sh

index f9ba3c98bf98eded0375b0c5c03f44edf428f8ac..47534b84d66a4fb7e03a617ba6e77a58284381cd 100644 (file)
@@ -42,6 +42,7 @@ if [ "$db_user_exists" != "1" ]; then
                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
 fi
 # build and set up postgres extensions
 pushd db/functions