# Generated by Django 4.2.5 on 2024-01-13 15:55

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', '0017_remove_estufa_semeadura_and_more'),
        ('aclimatacao', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='LogFinalizacaoAclimatacao',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('numero_lote', models.CharField(blank=True, max_length=50, null=True)),
                ('data_lote', models.DateField(blank=True, 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)),
                ('semeadura', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='lotes.semeadura')),
                ('usuario_exclusao', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
