Created
September 29, 2016 13:17
-
-
Save tr00st/b9008b31bce83f183b9859b2275c89f2 to your computer and use it in GitHub Desktop.
PostGIS enabler migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models, migrations | |
class Migration(migrations.Migration): | |
dependencies = [] | |
operations = [ | |
migrations.RunSQL("CREATE EXTENSION IF NOT EXISTS postgis") | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment