# Generated by Django 2.1.2 on 2019-12-29 15:59 import django.contrib.gis.db.models.fields from django.db import migrations, models import django.db.models.deletion import locations.models class Migration(migrations.Migration): dependencies = [ ('locations', '0018_auto_20190414_2124'), ] operations = [ migrations.CreateModel( name='GPXFile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=300)), ('raw_data', models.TextField()), ('gpx_file', models.FileField(blank=True, upload_to=locations.models.get_gpx_folder)), ], ), migrations.CreateModel( name='GPXPoint', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=50, verbose_name='Name')), ('description', models.CharField(blank=True, max_length=250, verbose_name='Description')), ('point', django.contrib.gis.db.models.fields.PointField(srid=4326)), ('gpx_file', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='locations.GPXFile')), ], ), migrations.CreateModel( name='GPXTrack', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('track', django.contrib.gis.db.models.fields.MultiLineStringField(srid=4326)), ('gpx_file', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='locations.GPXFile')), ], ), ]