File size: 5,282 Bytes
2e53f8d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# Generated by Django 2.2 on 2024-05-15 03:47

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


class Migration(migrations.Migration):

    dependencies = [
        ('api', '0004_alter_fabriroll_name'),
    ]

    operations = [
        migrations.CreateModel(
            name='FabricBatch',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('GRN', models.CharField(max_length=100, unique=True)),
                ('client', models.CharField(blank=True, max_length=100, null=True)),
                ('buyer', models.CharField(blank=True, max_length=100, null=True)),
                ('quality', models.CharField(blank=True, max_length=100, null=True)),
                ('fabricDescription', models.CharField(blank=True, max_length=500, null=True)),
                ('itemDescription', models.CharField(blank=True, max_length=500, null=True)),
                ('fabricForm', models.CharField(blank=True, max_length=100, null=True)),
                ('POWidth', models.FloatField(blank=True, null=True)),
                ('POUOM', models.CharField(blank=True, max_length=100, null=True)),
                ('PointsUOM', models.CharField(blank=True, max_length=100, null=True)),
                ('Tolarence', models.FloatField(blank=True, null=True)),
                ('color', models.CharField(blank=True, max_length=100, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.RemoveField(
            model_name='fabriroll',
            name='client',
        ),
        migrations.RemoveField(
            model_name='fabriroll',
            name='description',
        ),
        migrations.RemoveField(
            model_name='fabriroll',
            name='shrinkage',
        ),
        migrations.RemoveField(
            model_name='fabriroll',
            name='stock',
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='Bowing',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='CS',
            field=models.CharField(blank=True, max_length=20, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='CutPcs',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='EPI',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='GSM',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='LWV',
            field=models.CharField(blank=True, max_length=20, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='PPI',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='SG',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='SL',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='aLength',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='maxWidth',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='minWidth',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='rLength',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='sWarp',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='sWeft',
            field=models.FloatField(blank=True, null=True),
        ),
        migrations.AlterField(
            model_name='fabriroll',
            name='id',
            field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='fabriroll',
            name='image',
            field=models.ImageField(blank=True, null=True, upload_to='images/'),
        ),
        migrations.AddField(
            model_name='fabriroll',
            name='GRN',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='api.FabricBatch'),
        ),
    ]