# Generated by Django 3.2.16 on 2023-02-20 00:40

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


class Migration(migrations.Migration):

    dependencies = [
        ('line_analysis', '0005_auto_20230215_1634'),
    ]

    operations = [
        migrations.CreateModel(
            name='LineAnalysisFilesModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('file', models.FileField(blank=True, null=True, upload_to='files_folder', validators=[django.core.validators.FileExtensionValidator(['png', 'jpg', 'jpeg', 'pdf', 'doc', 'docx', 'cdr'])])),
                ('created_by', models.CharField(max_length=24)),
                ('datetime_created', models.DateTimeField(auto_now_add=True)),
                ('line_id', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='files', to='line_analysis.lineanalysismodel')),
            ],
            options={
                'verbose_name_plural': 'LINE ANALYSIS UPLOADED FILES',
                'ordering': ('line_id__date', 'line_id__shift', 'line_id__line'),
            },
        ),
    ]
