# Generated by Django 3.2.16 on 2023-02-15 15:34

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('utilz', '0002_sachetdefectsmodel'),
    ]

    operations = [
        migrations.CreateModel(
            name='UsersActivitiesModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('model_name', models.CharField(choices=[('LINE_ANALYSIS', 'LINE_ANALYSIS'), ('SACHET_ANALYSIS', 'SACHET_ANALYSIS'), ('LINE_INSPECTION', 'LINE_INSPECTION'), ('SACHET_INSPECTION', 'SACHET_INSPECTION')], max_length=24)),
                ('model_id', models.IntegerField()),
                ('activity', models.CharField(choices=[('CREATE', 'CREATE'), ('ANALYSED', 'ANALYSED'), ('CHECK', 'CHECK'), ('APPROVE', 'APPROVE'), ('UPDATE', 'UPDATE'), ('DELETE', 'DELETE')], max_length=12)),
                ('created_by', models.CharField(max_length=24)),
                ('datetime_created', models.DateTimeField(auto_now_add=True)),
                ('user_ip', models.GenericIPAddressField()),
            ],
        ),
        migrations.AlterModelOptions(
            name='linesmodel',
            options={'ordering': ('line',), 'verbose_name_plural': 'FACTORY LINES LIST'},
        ),
        migrations.AlterModelOptions(
            name='productsmodel',
            options={'ordering': ('product_name', '-product_size'), 'verbose_name_plural': 'ALL PRODUCTS LIST'},
        ),
        migrations.AlterModelOptions(
            name='sachetdefectsmodel',
            options={'ordering': ('defect_code',), 'verbose_name_plural': 'ALL SACHET DEFECTS LIST'},
        ),
    ]
