# Generated by Django 4.2.5 on 2024-01-04 17:13

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('lotes', '0013_alter_estufa_semeadura'),
    ]

    operations = [
        migrations.CreateModel(
            name='LogExclusaoLote',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lote_id', models.IntegerField(default=0)),
                ('numero_lote', models.CharField(blank=True, max_length=50, null=True)),
                ('data_lote', models.DateField(blank=True, null=True)),
                ('fornecedor', models.CharField(blank=True, max_length=100, null=True)),
                ('data_exclusao', models.DateField(default=django.utils.timezone.now)),
                ('hora_exclusao', models.TimeField(default=django.utils.timezone.now)),
                ('nome_usuario_exclusao', models.CharField(blank=True, max_length=255, null=True)),
                ('motivo_exclusao', models.CharField(blank=True, max_length=255, null=True)),
                ('motivo_exclusao_outros', models.TextField(blank=True, null=True)),
                ('usuario_exclusao', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
