Permalink
Browse files

Include legacy_gist.sql to support Django 1.4/PostGIS 2.

  • Loading branch information...
dracos committed Dec 4, 2013
1 parent a2301b8 commit 9809d71b8ab9f2b18b8ec90b54ede59129cce09d
Showing with 1 addition and 0 deletions.
  1. +1 −0 .travis.yml
View
@@ -25,6 +25,7 @@ install:
psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis';" &&
psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-2.1/postgis.sql &&
psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-2.1/spatial_ref_sys.sql &&
+ psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-2.1/legacy_gist.sql &&
psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;" &&
psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;" &&
psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;"

0 comments on commit 9809d71

Please sign in to comment.