# Generated by Django 1.11.18 on 2020-04-01 09:21

import django.contrib.postgres.fields.jsonb
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('opengis', '0007_auto_20200401_1032'),
    ]

    operations = [
        migrations.CreateModel(
            name='FeatureCache',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('lat', models.FloatField()),
                ('lon', models.FloatField()),
                ('data', django.contrib.postgres.fields.jsonb.JSONField(default=dict)),
                (
                    'query',
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name='features',
                        to='opengis.Query',
                        verbose_name='Query',
                    ),
                ),
            ],
        ),
    ]
