# Generated by Django 1.11.18 on 2020-01-30 15:04

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


class Migration(migrations.Migration):

    dependencies = [
        ('base_adresse', '0015_auto_20191206_1244'),
    ]

    operations = [
        migrations.CreateModel(
            name='AddressCacheModel',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('api_id', models.CharField(max_length=30, unique=True)),
                ('data', django.contrib.postgres.fields.jsonb.JSONField(default=dict)),
                ('timestamp', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.AddField(
            model_name='baseadresse',
            name='latitude',
            field=models.FloatField(
                blank=True,
                help_text='Geographic priority for /addresses/ endpoint.',
                null=True,
                verbose_name='Latitude',
            ),
        ),
        migrations.AddField(
            model_name='baseadresse',
            name='longitude',
            field=models.FloatField(
                blank=True,
                help_text='Geographic priority for /addresses/ endpoint.',
                null=True,
                verbose_name='Longitude',
            ),
        ),
    ]
