From b6e67e1f41d8df2c297ac315c18f625346ff45de Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Tue, 9 Apr 2019 09:34:46 +0100 Subject: [PATCH] Include pg_trgm in postgres vm install --- provision/vm_provision.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/provision/vm_provision.sh b/provision/vm_provision.sh index 4e1d7234..4d6428ab 100644 --- a/provision/vm_provision.sh +++ b/provision/vm_provision.sh @@ -88,7 +88,9 @@ su postgres -c "psql -c \"SELECT 1 FROM pg_database WHERE datname = 'vagrant';\" # Create extensions -su vagrant -c "psql -c \"create extension postgis; create extension pgcrypto;\" " +su vagrant -c "psql -c \"create extension postgis;\" " +su vagrant -c "psql -c \"create extension pgcrypto;\" " +su vagrant -c "psql -c \"create extension pg_trgm;\" " # Run all 'up' migrations to create tables, data types, indexes su vagrant -c "ls /vagrant/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql < \$migration; done;"