# Generated by Django 3.2.5 on 2022-06-29 21:08

from django.db import migrations, models
import django.utils.timezone


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='RawMaterialModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('reference', models.CharField(max_length=25, unique=True)),
                ('material', models.CharField(choices=[('alcohol', 'alcohol'), ('diesel', 'diesel'), ('sugar', 'sugar'), ('caramel', 'caramel'), ('citric', 'citric'), ('caustic', 'caustic'), ('co2', 'co2')], max_length=25)),
                ('material_description', models.CharField(blank=True, max_length=255, null=True)),
                ('sampled_by', models.CharField(max_length=25)),
                ('vehicle_number', models.CharField(max_length=25, null=True)),
                ('quantity', models.CharField(blank=True, default='', max_length=25, null=True)),
                ('supplier', models.CharField(max_length=255)),
                ('date_sampled', models.DateField(default=django.utils.timezone.now)),
                ('result', models.CharField(choices=[('', ''), ('pass', 'pass'), ('fail', 'fail'), ('other', 'other')], default='', max_length=25)),
                ('technologist', models.CharField(blank=True, max_length=55, null=True)),
                ('status', models.CharField(choices=[('sampled', 'sampled'), ('analysed', 'analysed'), ('checked', 'checked'), ('approved', 'approved')], default='sampled', max_length=25)),
                ('created_by', models.CharField(max_length=55)),
                ('username', models.CharField(max_length=55)),
                ('datetime', models.DateTimeField(auto_now_add=True)),
                ('has_dispute', models.BooleanField(default=False)),
                ('disputes_status_list', models.CharField(blank=True, max_length=255, null=True)),
            ],
        ),
    ]
