# Generated by Django 3.1.1 on 2020-09-23 15:44

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('bbqudasite', '0003_auto_20200915_1652'),
    ]

    operations = [
        migrations.CreateModel(
            name='LogUpload',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('file', models.FileField(upload_to='media/log/', validators=[bbqudasite.models.log_file_validator])),
                ('name', models.CharField(max_length=50, null=True, verbose_name='File Name')),
                ('date', models.DateField(default=datetime.date.today, verbose_name='Date')),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
