# Generated by Django 5.0 on 2024-12-25 08:57

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Agreements',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('file', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('description', models.TextField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'agreements',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DailyChecks',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('p1', models.FloatField(blank=True, null=True)),
                ('p2', models.FloatField(blank=True, null=True)),
                ('p3', models.FloatField(blank=True, null=True)),
                ('avg', models.FloatField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('header', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('user_id', models.IntegerField(blank=True, null=True)),
                ('empid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('shift', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('result', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
            ],
            options={
                'db_table': 'daily_checks',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DailyChecksWb',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('result', models.FloatField(blank=True, null=True)),
                ('weight', models.FloatField(blank=True, null=True)),
                ('judgement', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('user_id', models.IntegerField(blank=True, null=True)),
                ('empid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('shift', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
            ],
            options={
                'db_table': 'daily_checks_wb',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Data',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('header', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('p1', models.FloatField(blank=True, null=True)),
                ('p2', models.FloatField(blank=True, null=True)),
                ('p3', models.FloatField(blank=True, null=True)),
                ('p4', models.FloatField(blank=True, null=True)),
                ('p5', models.FloatField(blank=True, null=True)),
                ('p6', models.FloatField(blank=True, null=True)),
                ('p7', models.FloatField(blank=True, null=True)),
                ('p8', models.FloatField(blank=True, null=True)),
                ('p9', models.FloatField(blank=True, null=True)),
                ('p10', models.FloatField(blank=True, null=True)),
                ('avg', models.FloatField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('rgrade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('r_type', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('ndata', models.IntegerField(blank=True, null=True)),
                ('sub_order', models.IntegerField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'data',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Data13178079',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('avg', models.FloatField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('rgrade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('r_type', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('p1', models.FloatField(blank=True, null=True)),
                ('p2', models.FloatField(blank=True, null=True)),
                ('p3', models.FloatField(blank=True, null=True)),
                ('p4', models.FloatField(blank=True, null=True)),
                ('p5', models.FloatField(blank=True, null=True)),
                ('p6', models.FloatField(blank=True, null=True)),
                ('p7', models.FloatField(blank=True, null=True)),
                ('p8', models.FloatField(blank=True, null=True)),
                ('p9', models.FloatField(blank=True, null=True)),
                ('p10', models.FloatField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('ndata', models.IntegerField(blank=True, null=True)),
                ('sub_order', models.IntegerField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('header', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
            ],
            options={
                'db_table': 'Data_131_78079',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Data20082018',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('avg', models.FloatField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('rgrade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('r_type', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('p1', models.FloatField(blank=True, null=True)),
                ('p2', models.FloatField(blank=True, null=True)),
                ('p3', models.FloatField(blank=True, null=True)),
                ('p4', models.FloatField(blank=True, null=True)),
                ('p5', models.FloatField(blank=True, null=True)),
                ('p6', models.FloatField(blank=True, null=True)),
                ('p7', models.FloatField(blank=True, null=True)),
                ('p8', models.FloatField(blank=True, null=True)),
                ('p9', models.FloatField(blank=True, null=True)),
                ('p10', models.FloatField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('ndata', models.IntegerField(blank=True, null=True)),
                ('sub_order', models.IntegerField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('header', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
            ],
            options={
                'db_table': 'data (2008-2018)',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Data25113027G',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('avg', models.FloatField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('rgrade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('r_type', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('p1', models.FloatField(blank=True, null=True)),
                ('p2', models.FloatField(blank=True, null=True)),
                ('p3', models.FloatField(blank=True, null=True)),
                ('p4', models.FloatField(blank=True, null=True)),
                ('p5', models.FloatField(blank=True, null=True)),
                ('p6', models.FloatField(blank=True, null=True)),
                ('p7', models.FloatField(blank=True, null=True)),
                ('p8', models.FloatField(blank=True, null=True)),
                ('p9', models.FloatField(blank=True, null=True)),
                ('p10', models.FloatField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('ndata', models.IntegerField(blank=True, null=True)),
                ('sub_order', models.IntegerField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('header', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
            ],
            options={
                'db_table': 'data_251-13027G',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DataMs',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField()),
                ('dsize', models.FloatField(blank=True, null=True)),
                ('tsize', models.FloatField(blank=True, null=True)),
                ('hsize', models.FloatField(blank=True, null=True)),
                ('csize', models.FloatField(blank=True, null=True)),
                ('esize', models.FloatField(blank=True, null=True)),
                ('fsize', models.FloatField(blank=True, null=True)),
                ('gsize', models.FloatField(blank=True, null=True)),
                ('psize', models.FloatField(blank=True, null=True)),
                ('wsize', models.FloatField(blank=True, null=True)),
                ('jksize', models.FloatField(blank=True, null=True)),
                ('usize', models.FloatField(blank=True, null=True)),
                ('msize', models.FloatField(blank=True, null=True)),
                ('asize', models.FloatField(blank=True, null=True)),
                ('nsize', models.FloatField(blank=True, null=True)),
                ('jsize', models.FloatField(blank=True, null=True)),
                ('xsize', models.FloatField(blank=True, null=True)),
                ('flatnesssize', models.FloatField(blank=True, null=True)),
                ('ksize', models.FloatField(blank=True, null=True)),
                ('thicknesssize', models.FloatField(blank=True, null=True)),
                ('qsize', models.FloatField(blank=True, null=True)),
                ('ssize', models.FloatField(blank=True, null=True)),
                ('dsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='dsizeOk', max_length=4, null=True)),
                ('tsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='tsizeOk', max_length=4, null=True)),
                ('hsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='hsizeOk', max_length=4, null=True)),
                ('csizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='csizeOk', max_length=4, null=True)),
                ('esizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='esizeOk', max_length=4, null=True)),
                ('fsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='fsizeOk', max_length=4, null=True)),
                ('gsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='gsizeOk', max_length=4, null=True)),
                ('psizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='psizeOk', max_length=4, null=True)),
                ('wsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='wsizeOk', max_length=4, null=True)),
                ('jksizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='jksizeOk', max_length=4, null=True)),
                ('usizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='usizeOk', max_length=4, null=True)),
                ('msizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='msizeOk', max_length=4, null=True)),
                ('asizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='asizeOk', max_length=4, null=True)),
                ('nsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='nsizeOk', max_length=4, null=True)),
                ('jsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='jsizeOk', max_length=4, null=True)),
                ('xsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='xsizeOk', max_length=4, null=True)),
                ('flatnesssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='flatnesssizeOk', max_length=4, null=True)),
                ('ksizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='ksizeOk', max_length=4, null=True)),
                ('thicknesssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='thicknesssizeOk', max_length=4, null=True)),
                ('qsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='qsizeOk', max_length=4, null=True)),
                ('ssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='ssizeOk', max_length=4, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField()),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('emp_id', models.IntegerField()),
                ('weight', models.FloatField(blank=True, null=True)),
                ('devid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=40, null=True)),
                ('tpoint1', models.FloatField(blank=True, null=True)),
                ('tpoint2', models.FloatField(blank=True, null=True)),
                ('tpoint3', models.FloatField(blank=True, null=True)),
                ('tpoint4', models.FloatField(blank=True, null=True)),
                ('tpoint1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tpoint2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tpoint3ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tpoint4ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tdiff', models.FloatField(blank=True, null=True)),
                ('tmin', models.FloatField(blank=True, null=True)),
                ('tmax', models.FloatField(blank=True, null=True)),
                ('hdev', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('hsizeproxy', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('restricts', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=40, null=True)),
                ('shift', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('mode', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('cal_mode', models.IntegerField(blank=True, null=True)),
                ('diasize', models.FloatField(blank=True, null=True)),
                ('diasizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='diasizeOk', max_length=4, null=True)),
                ('censize', models.FloatField(blank=True, null=True)),
                ('censizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='censizeOk', max_length=4, null=True)),
                ('osize', models.FloatField(blank=True, null=True)),
                ('osizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='osizeOk', max_length=4, null=True)),
                ('size1', models.FloatField(blank=True, null=True)),
                ('size2', models.FloatField(blank=True, null=True)),
                ('size1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size1Ok', max_length=50, null=True)),
                ('size2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size2Ok', max_length=50, null=True)),
                ('size1name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size1Name', max_length=50, null=True)),
                ('size2name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size2Name', max_length=50, null=True)),
                ('bsize', models.FloatField(blank=True, null=True)),
                ('bsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='bsizeOk', max_length=50, null=True)),
                ('lsize', models.FloatField(blank=True, null=True)),
                ('lsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='lsizeOk', max_length=50, null=True)),
                ('zsize', models.FloatField(blank=True, null=True)),
                ('zsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='zsizeOk', max_length=50, null=True)),
                ('x1size', models.FloatField(blank=True, null=True)),
                ('x1sizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='x1sizeOk', max_length=50, null=True)),
                ('x2size', models.FloatField(blank=True, null=True)),
                ('x2sizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='x2sizeOk', max_length=50, null=True)),
                ('tpresssize', models.FloatField(blank=True, null=True)),
                ('tpresssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='tpresssizeOk', max_length=50, null=True)),
                ('t1', models.FloatField()),
                ('t2', models.FloatField()),
                ('t3', models.FloatField()),
                ('t4', models.FloatField()),
                ('t1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t1Ok', max_length=50, null=True)),
                ('t2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t2Ok', max_length=50, null=True)),
                ('t3ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t3Ok', max_length=50, null=True)),
                ('t4ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t4Ok', max_length=50, null=True)),
                ('t4avg', models.FloatField()),
                ('tpok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='tpOk', max_length=50, null=True)),
                ('t4min', models.FloatField(blank=True, null=True)),
                ('t4max', models.FloatField(blank=True, null=True)),
                ('t4diff', models.FloatField(blank=True, null=True)),
            ],
            options={
                'db_table': 'data_ms',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DataMsLot2210062522',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField()),
                ('dsize', models.FloatField(blank=True, null=True)),
                ('tsize', models.FloatField(blank=True, null=True)),
                ('hsize', models.FloatField(blank=True, null=True)),
                ('csize', models.FloatField(blank=True, null=True)),
                ('esize', models.FloatField(blank=True, null=True)),
                ('fsize', models.FloatField(blank=True, null=True)),
                ('gsize', models.FloatField(blank=True, null=True)),
                ('psize', models.FloatField(blank=True, null=True)),
                ('wsize', models.FloatField(blank=True, null=True)),
                ('jksize', models.FloatField(blank=True, null=True)),
                ('usize', models.FloatField(blank=True, null=True)),
                ('msize', models.FloatField(blank=True, null=True)),
                ('asize', models.FloatField(blank=True, null=True)),
                ('nsize', models.FloatField(blank=True, null=True)),
                ('jsize', models.FloatField(blank=True, null=True)),
                ('xsize', models.FloatField(blank=True, null=True)),
                ('flatnesssize', models.FloatField(blank=True, null=True)),
                ('ksize', models.FloatField(blank=True, null=True)),
                ('thicknesssize', models.FloatField(blank=True, null=True)),
                ('qsize', models.FloatField(blank=True, null=True)),
                ('ssize', models.FloatField(blank=True, null=True)),
                ('dsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='dsizeOk', max_length=4, null=True)),
                ('tsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='tsizeOk', max_length=4, null=True)),
                ('hsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='hsizeOk', max_length=4, null=True)),
                ('csizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='csizeOk', max_length=4, null=True)),
                ('esizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='esizeOk', max_length=4, null=True)),
                ('fsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='fsizeOk', max_length=4, null=True)),
                ('gsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='gsizeOk', max_length=4, null=True)),
                ('psizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='psizeOk', max_length=4, null=True)),
                ('wsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='wsizeOk', max_length=4, null=True)),
                ('jksizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='jksizeOk', max_length=4, null=True)),
                ('usizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='usizeOk', max_length=4, null=True)),
                ('msizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='msizeOk', max_length=4, null=True)),
                ('asizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='asizeOk', max_length=4, null=True)),
                ('nsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='nsizeOk', max_length=4, null=True)),
                ('jsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='jsizeOk', max_length=4, null=True)),
                ('xsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='xsizeOk', max_length=4, null=True)),
                ('flatnesssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='flatnesssizeOk', max_length=4, null=True)),
                ('ksizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='ksizeOk', max_length=4, null=True)),
                ('thicknesssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='thicknesssizeOk', max_length=4, null=True)),
                ('qsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='qsizeOk', max_length=4, null=True)),
                ('ssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='ssizeOk', max_length=4, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField()),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('emp_id', models.IntegerField()),
                ('weight', models.FloatField(blank=True, null=True)),
                ('devid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=40, null=True)),
                ('tpoint1', models.FloatField(blank=True, null=True)),
                ('tpoint2', models.FloatField(blank=True, null=True)),
                ('tpoint3', models.FloatField(blank=True, null=True)),
                ('tpoint4', models.FloatField(blank=True, null=True)),
                ('tpoint1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tpoint2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tpoint3ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tpoint4ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=4, null=True)),
                ('tdiff', models.FloatField(blank=True, null=True)),
                ('tmin', models.FloatField(blank=True, null=True)),
                ('tmax', models.FloatField(blank=True, null=True)),
                ('hdev', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('hsizeproxy', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('restricts', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=40, null=True)),
                ('shift', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('mode', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('cal_mode', models.IntegerField(blank=True, null=True)),
                ('diasize', models.FloatField(blank=True, null=True)),
                ('diasizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='diasizeOk', max_length=4, null=True)),
                ('censize', models.FloatField(blank=True, null=True)),
                ('censizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='censizeOk', max_length=4, null=True)),
                ('osize', models.FloatField(blank=True, null=True)),
                ('osizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='osizeOk', max_length=4, null=True)),
                ('size1', models.FloatField(blank=True, null=True)),
                ('size2', models.FloatField(blank=True, null=True)),
                ('size1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size1Ok', max_length=50, null=True)),
                ('size2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size2Ok', max_length=50, null=True)),
                ('size1name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size1Name', max_length=50, null=True)),
                ('size2name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='size2Name', max_length=50, null=True)),
                ('bsize', models.FloatField(blank=True, null=True)),
                ('bsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='bsizeOk', max_length=50, null=True)),
                ('lsize', models.FloatField(blank=True, null=True)),
                ('lsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='lsizeOk', max_length=50, null=True)),
                ('zsize', models.FloatField(blank=True, null=True)),
                ('zsizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='zsizeOk', max_length=50, null=True)),
                ('x1size', models.FloatField(blank=True, null=True)),
                ('x1sizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='x1sizeOk', max_length=50, null=True)),
                ('x2size', models.FloatField(blank=True, null=True)),
                ('x2sizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='x2sizeOk', max_length=50, null=True)),
                ('tpresssize', models.FloatField(blank=True, null=True)),
                ('tpresssizeok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='tpresssizeOk', max_length=50, null=True)),
                ('t1', models.FloatField()),
                ('t2', models.FloatField()),
                ('t3', models.FloatField()),
                ('t4', models.FloatField()),
                ('t1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t1Ok', max_length=50, null=True)),
                ('t2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t2Ok', max_length=50, null=True)),
                ('t3ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t3Ok', max_length=50, null=True)),
                ('t4ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='t4Ok', max_length=50, null=True)),
                ('t4avg', models.FloatField()),
                ('tpok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='tpOk', max_length=50, null=True)),
                ('t4min', models.FloatField(blank=True, null=True)),
                ('t4max', models.FloatField(blank=True, null=True)),
                ('t4diff', models.FloatField(blank=True, null=True)),
            ],
            options={
                'db_table': 'data_ms_LOT2210062522',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DataRl',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('avg', models.FloatField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('rgrade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('r_type', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('p1', models.FloatField(blank=True, null=True)),
                ('p2', models.FloatField(blank=True, null=True)),
                ('p3', models.FloatField(blank=True, null=True)),
                ('p4', models.FloatField(blank=True, null=True)),
                ('p5', models.FloatField(blank=True, null=True)),
                ('p6', models.FloatField(blank=True, null=True)),
                ('p7', models.FloatField(blank=True, null=True)),
                ('p8', models.FloatField(blank=True, null=True)),
                ('p9', models.FloatField(blank=True, null=True)),
                ('p10', models.FloatField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('ndata', models.IntegerField(blank=True, null=True)),
                ('sub_order', models.IntegerField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('header', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
            ],
            options={
                'db_table': 'data_rl',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DataWb',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('result', models.FloatField(blank=True, null=True)),
                ('weight', models.FloatField(blank=True, null=True)),
                ('judgement', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('emp_id', models.IntegerField(blank=True, null=True)),
                ('repair_by', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=30, null=True)),
            ],
            options={
                'db_table': 'data_wb',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='DataWbTest',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('result', models.FloatField(blank=True, null=True)),
                ('weight', models.FloatField(blank=True, null=True)),
                ('judgement', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('emp_id', models.IntegerField(blank=True, null=True)),
                ('repair_by', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=30, null=True)),
            ],
            options={
                'db_table': 'data_wb_test',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LegacyUsers',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('email', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('password_digest', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('roles_mask', models.IntegerField(blank=True, null=True)),
                ('empid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('fname', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('lname', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
            ],
            options={
                'db_table': 'users',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LoginTemps',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('empid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('password', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'login_temps',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Lot',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
            ],
            options={
                'db_table': 'lot',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LotRl',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
            ],
            options={
                'db_table': 'lot_rl',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Lotsizeorder',
            fields=[
                ('oid', models.AutoField(primary_key=True, serialize=False)),
                ('lotno', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=100, null=True)),
                ('sizes', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=400, null=True)),
            ],
            options={
                'db_table': 'LotSizeOrder',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LotSummary',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lot_no', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('created_at', models.DateTimeField()),
                ('avg', models.FloatField()),
                ('code', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('start_time', models.DateTimeField(blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('avg0', models.FloatField(blank=True, null=True)),
                ('avg1', models.FloatField(blank=True, null=True)),
                ('avg2', models.FloatField(blank=True, null=True)),
                ('avg3', models.FloatField(blank=True, null=True)),
                ('avg0_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg1_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg2_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg3_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
            ],
            options={
                'db_table': 'lot_summary',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LotSummary20082018',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lot_no', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('created_at', models.DateTimeField()),
                ('avg', models.FloatField()),
                ('code', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('start_time', models.DateTimeField(blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('avg0', models.FloatField(blank=True, null=True)),
                ('avg1', models.FloatField(blank=True, null=True)),
                ('avg2', models.FloatField(blank=True, null=True)),
                ('avg3', models.FloatField(blank=True, null=True)),
                ('avg0_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg1_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg2_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg3_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
            ],
            options={
                'db_table': 'lot_summary (2008-2018)',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LotSummaryRl',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lot_no', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('created_at', models.DateTimeField()),
                ('avg', models.FloatField()),
                ('code', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('start_time', models.DateTimeField(blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
                ('grade', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('avg0', models.FloatField(blank=True, null=True)),
                ('avg1', models.FloatField(blank=True, null=True)),
                ('avg2', models.FloatField(blank=True, null=True)),
                ('avg3', models.FloatField(blank=True, null=True)),
                ('avg0_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg1_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg2_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('avg3_name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
            ],
            options={
                'db_table': 'lot_summary_rl',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='LotSummaryWb',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lot_no', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('created_at', models.DateTimeField()),
                ('w_avg', models.FloatField()),
                ('wb_avg', models.FloatField()),
                ('cp', models.FloatField()),
                ('code', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50)),
                ('start_time', models.DateTimeField(blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'lot_summary_wb',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Lottracking',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lotno', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('machinegroup', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='machineGroup', max_length=255, null=True)),
                ('datams_id', models.IntegerField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'LotTracking',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Machinegroup',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('groupname', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='groupName', max_length=255, null=True)),
            ],
            options={
                'db_table': 'machineGroup',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Machines',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('description', models.TextField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('tag_name', models.TextField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', null=True)),
            ],
            options={
                'db_table': 'machines',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='MachinesWb',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.TextField(db_collation='SQL_Latin1_General_CP1_CI_AS')),
                ('description', models.TextField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', null=True)),
                ('created_at', models.DateTimeField()),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('tag_name', models.TextField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', null=True)),
                ('ip', models.TextField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', null=True)),
                ('isactive', models.BooleanField(db_column='isActive')),
                ('machinestd', models.FloatField(blank=True, db_column='machineStd', null=True)),
            ],
            options={
                'db_table': 'machines_wb',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Manualsize',
            fields=[
                ('lotno', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='lotNo', max_length=20, primary_key=True, serialize=False)),
                ('size_name', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='Size_Name', max_length=50)),
                ('std', models.FloatField(blank=True, db_column='Std', null=True)),
                ('tolun', models.FloatField(blank=True, db_column='TolUn', null=True)),
                ('tolup', models.FloatField(blank=True, db_column='TolUp', null=True)),
                ('created_at', models.DateTimeField()),
                ('productcode', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='ProductCode', max_length=30, null=True)),
            ],
            options={
                'db_table': 'manualSize',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='PressCal',
            fields=[
                ('v0', models.FloatField(blank=True, null=True)),
                ('lot_no', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, primary_key=True, serialize=False)),
                ('v1', models.FloatField(blank=True, null=True)),
                ('v2', models.FloatField(blank=True, null=True)),
                ('v3', models.FloatField(blank=True, null=True)),
                ('v4', models.FloatField(blank=True, null=True)),
                ('v5', models.FloatField(blank=True, null=True)),
                ('v6', models.FloatField(blank=True, null=True)),
                ('y0', models.FloatField(blank=True, null=True)),
                ('y1', models.FloatField(blank=True, null=True)),
                ('y2', models.FloatField(blank=True, null=True)),
                ('ac1', models.FloatField(blank=True, null=True)),
                ('ac2', models.FloatField(blank=True, null=True)),
                ('ac3', models.FloatField(blank=True, null=True)),
                ('ac4', models.FloatField(blank=True, null=True)),
                ('ac5', models.FloatField(blank=True, null=True)),
                ('ac6', models.FloatField(blank=True, null=True)),
                ('ac7', models.FloatField(blank=True, null=True)),
                ('r_result', models.FloatField(blank=True, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('c0', models.FloatField()),
            ],
            options={
                'db_table': 'press_cal',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='RotateData',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('row_no', models.IntegerField(blank=True, null=True)),
                ('speed_spec', models.FloatField(blank=True, null=True)),
                ('speed_test', models.FloatField(blank=True, null=True)),
                ('speedok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='speedOk', max_length=4, null=True)),
                ('qty', models.IntegerField()),
                ('station_no', models.IntegerField()),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
                ('lot_no', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('machine_id', models.IntegerField(blank=True, null=True)),
                ('code', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('emp_id', models.IntegerField()),
                ('devid', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=40, null=True)),
                ('mode', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=10, null=True)),
                ('cal_mode', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'rotate_data',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='SchemaMigrations',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('version', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255)),
            ],
            options={
                'db_table': 'schema_migrations',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='SplitData',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('v1', models.FloatField(blank=True, null=True)),
                ('v2', models.FloatField(blank=True, null=True)),
                ('v3', models.FloatField(blank=True, null=True)),
                ('v4', models.FloatField(blank=True, null=True)),
                ('v5', models.FloatField(blank=True, null=True)),
                ('unit', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('vr', models.FloatField(blank=True, null=True)),
                ('vname', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=50, null=True)),
                ('no', models.IntegerField()),
                ('v1ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('v2ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('v3ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('v4ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('v5ok', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=20, null=True)),
                ('vmax', models.FloatField(blank=True, null=True)),
                ('vmin', models.FloatField(blank=True, null=True)),
                ('vdiff', models.FloatField(blank=True, null=True)),
                ('row_no', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'split_data',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='SysConfigs',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('value', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', max_length=255, null=True)),
                ('created_at', models.DateTimeField(blank=True, null=True)),
                ('updated_at', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'sys_configs',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbFgPressinfoLotlist',
            fields=[
                ('product_year', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='Product_Year', max_length=10, primary_key=True, serialize=False)),
                ('productcode', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='ProductCode', max_length=20)),
                ('lotno', models.CharField(db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='LotNo', max_length=20)),
                ('lot_qty', models.FloatField(blank=True, db_column='Lot_Qty', null=True)),
                ('def_qty', models.FloatField(blank=True, db_column='Def_Qty', null=True)),
                ('fg_qty', models.FloatField(blank=True, db_column='FG_Qty', null=True)),
                ('insp_date', models.DateTimeField(blank=True, db_column='Insp_Date', null=True)),
                ('current_prono', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='Current_ProNo', max_length=5, null=True)),
                ('press_mcname', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='Press_McName', max_length=50, null=True)),
                ('press_username', models.CharField(blank=True, db_collation='SQL_Latin1_General_CP1_CI_AS', db_column='Press_UserName', max_length=50, null=True)),
            ],
            options={
                'db_table': 'tb_fg_pressinfo_lotlist',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbWbStdCode12',
            fields=[
                ('id', models.IntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('u_weight', models.FloatField(blank=True, db_column='U_Weight', null=True)),
                ('speed_from', models.FloatField(blank=True, db_column='Speed_From', null=True)),
                ('speed_to', models.FloatField(blank=True, db_column='Speed_To', null=True)),
                ('diameter_from', models.FloatField(blank=True, db_column='Diameter_From', null=True)),
                ('diameter_to', models.FloatField(blank=True, db_column='Diameter_To', null=True)),
                ('std_balance', models.FloatField(blank=True, db_column='STD_Balance', null=True)),
            ],
            options={
                'db_table': 'tb_wb_std_code_1-2',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbWbStdCode345',
            fields=[
                ('id', models.IntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('u_weight', models.FloatField(blank=True, db_column='U_Weight', null=True)),
                ('speed_from', models.FloatField(blank=True, db_column='Speed_From', null=True)),
                ('speed_to', models.FloatField(blank=True, db_column='Speed_To', null=True)),
                ('diameter_from', models.FloatField(blank=True, db_column='Diameter_From', null=True)),
                ('diameter_to', models.FloatField(blank=True, db_column='Diameter_To', null=True)),
                ('std_balance', models.FloatField(blank=True, db_column='STD_Balance', null=True)),
            ],
            options={
                'db_table': 'tb_wb_std_code_3-4-5',
                'managed': False,
            },
        ),
    ]
