# Generated by Django 3.1.2 on 2020-10-18 21:45

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Mapa',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nome', models.CharField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Distancia',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ponto_1', models.CharField(max_length=255)),
                ('ponto_2', models.CharField(max_length=255)),
                ('distancia', models.FloatField(default=0)),
                ('mapa', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='malhalogistica.mapa')),
            ],
        ),
    ]
