olg3ha
Last Updated: February 25, 2016
·
346
· jamesdullaghan
Photo on 6 5 13 at 8.07 pm

postGIS on Heroku

When using postGIS on Heroku, you need to change the DATABASE_URL config var to postgis:// instead of the default postgres://

This is done by

heroku config:add DATABASE_URL='postgis://user:password@host.compute-1.amazonaws.com:port/dbname'

WARNING
This does interfere with addons, such as pgBackups.

Say Thanks
Respond