# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-12-14 22:32 from __future__ import unicode_literals import django.contrib.gis.db.models.fields from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('locations', '0001_initial'), ] operations = [ migrations.CreateModel( name='CheckIn', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('point', django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326)), ('date', models.DateField(default=django.utils.timezone.now)), ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), ], options={ 'ordering': ('-date',), 'get_latest_by': 'date', }, ), ]