Spaces:
Sleeping
Sleeping
# 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'), | |
), | |
] | |