# Generated by Django 1.9a1 on 2015-09-25 03:38

from django.db import migrations, models


class JSONField(models.TextField):
    """Mocks jsonfield 0.92's column-type behaviour"""
    def db_type(self, connection):
        if connection.vendor == 'postgresql' and connection.pg_version >= 90300:
            return 'json'
        else:
            return super().db_type(connection)


class Migration(migrations.Migration):

    dependencies = [
        ('boundaries', '0004_auto_20150921_1607'),
    ]

    operations = [
        migrations.AlterField(
            model_name='boundary',
            name='metadata',
            field=JSONField(blank=True, default={}, help_text='The attributes of the boundary from the shapefile, as a dictionary.'),
        ),
        migrations.AlterField(
            model_name='boundaryset',
            name='extra',
            field=JSONField(blank=True, default={}, help_text='Any additional metadata.'),
        ),
    ]
