# Generated by Django 3.2.16 on 2023-02-20 22:30

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


class Migration(migrations.Migration):

    dependencies = [
        ('utilz', '0005_sachetmodel'),
        ('sachet_analysis', '0003_auto_20230220_2144'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='sachetalcmodel',
            options={'ordering': ('machine_id__date', 'machine_id__shift', 'machine_id__mc_id__machine', 'hour'), 'verbose_name_plural': 'SACHET HOURLY ANALYSIS'},
        ),
        migrations.AlterModelOptions(
            name='sachetanalysisfilesmodel',
            options={'ordering': ('machine_id__date', 'machine_id__shift', 'machine_id__mc_id__machine'), 'verbose_name_plural': 'LINE ANALYSIS UPLOADED FILES'},
        ),
        migrations.AlterModelOptions(
            name='sachetanalysismodel',
            options={'ordering': ('date', 'shift', 'mc_id__machine'), 'verbose_name_plural': 'SACHET ANALYSIS SHIFT FORM'},
        ),
        migrations.AlterModelOptions(
            name='sachetanalysisworkflowmodel',
            options={'ordering': ('machine_id__date', 'machine_id__shift', 'machine_id__mc_id__machine'), 'verbose_name_plural': 'SACHET ANALYSIS SHIFT WORKFLOW'},
        ),
        migrations.AlterModelOptions(
            name='sachetdefectmodel',
            options={'ordering': ('machine_id__date', 'machine_id__shift', 'machine_id__mc_id__machine', 'hour'), 'verbose_name_plural': 'LINE ANALYSIS DEFECT RECORD'},
        ),
        migrations.AlterModelOptions(
            name='sachetfaultmodel',
            options={'ordering': ('machine_id__date', 'machine_id__shift', 'machine_id__mc_id__machine', 'hour'), 'verbose_name_plural': 'SACHET ANALYSIS FAULT BOX'},
        ),
        migrations.RemoveField(
            model_name='sachetanalysismodel',
            name='machine',
        ),
        migrations.AddField(
            model_name='sachetanalysismodel',
            name='mc_id',
            field=models.OneToOneField(default='1', on_delete=django.db.models.deletion.PROTECT, related_name='mc_id', to='utilz.sachetmodel'),
            preserve_default=False,
        ),
    ]
