# Generated by Django 2.1.7 on 2019-11-07 08:05

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


class Migration(migrations.Migration):

    dependencies = [
        ('pages', '0002_log'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='log',
            name='empresa_id',
        ),
        migrations.RemoveField(
            model_name='log',
            name='parada_id',
        ),
        migrations.RemoveField(
            model_name='log',
            name='ruta_id',
        ),
        migrations.AddField(
            model_name='log',
            name='empresa',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='pages.Empresa'),
        ),
        migrations.AddField(
            model_name='log',
            name='parada',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='pages.Parada'),
        ),
        migrations.AddField(
            model_name='log',
            name='ruta',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='pages.Ruta'),
        ),
        migrations.AlterField(
            model_name='log',
            name='usuario',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL),
        ),
    ]
