# Generated by Django 2.1.2 on 2019-12-29 17:58 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', '0020_auto_20191229_1600'), ] operations = [ migrations.CreateModel( name='Walk', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=300)), ('body_markdown', models.TextField()), ('body_html', models.TextField(blank=True)), ('date_walked', models.DateField(default=django.utils.timezone.now)), ('point', django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326)), ('rating', models.CharField(blank=True, choices=[('1', '1 Star'), ('2', '2 Stars'), ('3', '3 Stars'), ('4', '4 Stars'), ('5', '5 Stars')], max_length=1, null=True)), ('gpx_file', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='locations.GPXFile')), ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), ], ), ]