Keine Beschreibung

0003_allproductaverageobminmaxview_and_more.py 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # Generated by Django 4.2 on 2025-05-06 04:36
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('legacy', '0002_belmasterview_emasterview_mgmasterview_vmasterview'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='AllProductAverageObMinMaxView',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('ProductCode', models.CharField(max_length=255, null=True)),
  13. ('out_min', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  14. ('out_max', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  15. ('in_min', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  16. ('in_max', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  17. ],
  18. options={
  19. 'db_table': 'AllProduct_Average_OB_MIN_MAX_view',
  20. 'managed': False,
  21. },
  22. ),
  23. migrations.CreateModel(
  24. name='AllProductDimensionForInsProcess',
  25. fields=[
  26. ('ProdType', models.CharField(max_length=255, null=True)),
  27. ('ProductCode', models.CharField(max_length=255, primary_key=True, serialize=False)),
  28. ('Size_Id', models.CharField(max_length=255, null=True)),
  29. ('Size_Name', models.CharField(max_length=255, null=True)),
  30. ('Std', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  31. ('TolUn', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  32. ('TolUp', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  33. ],
  34. options={
  35. 'db_table': 'AllProduct_Dimension_ForInsProcess',
  36. 'managed': False,
  37. },
  38. ),
  39. migrations.CreateModel(
  40. name='AllProductPressPositionPressWeight',
  41. fields=[
  42. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  43. ('ProductCode', models.CharField(max_length=255, null=True)),
  44. ('Lot_No', models.CharField(max_length=255, null=True)),
  45. ('PO_Qty', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  46. ('UWeight', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  47. ('Current_ProNo', models.CharField(max_length=255, null=True)),
  48. ('Press_Time', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  49. ('PressType_1', models.CharField(max_length=255, null=True)),
  50. ('PressWeight_1', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  51. ('PressType_2', models.CharField(max_length=255, null=True)),
  52. ('PressWeight_2', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  53. ('Press_Ton', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  54. ('Press_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  55. ('Press_T_Tol', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  56. ('Mold_D', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  57. ('Mold_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  58. ('SegMold_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  59. ('SegMold_D', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  60. ('Center_D', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  61. ('Center_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  62. ('LowerPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  63. ('StudPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  64. ('UpperPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  65. ('PinPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  66. ('TopConcave_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  67. ('BottomConcave_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
  68. ],
  69. options={
  70. 'db_table': 'AllProduct_PressPosition_PressWeight',
  71. 'managed': False,
  72. },
  73. ),
  74. migrations.CreateModel(
  75. name='RotateBrokenTest',
  76. fields=[
  77. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  78. ('row_no', models.IntegerField(blank=True, null=True)),
  79. ('speed_spec', models.FloatField(blank=True, null=True)),
  80. ('speed_test', models.FloatField(blank=True, null=True)),
  81. ('speedOk', models.CharField(blank=True, max_length=4, null=True)),
  82. ('qty', models.IntegerField()),
  83. ('station_no', models.IntegerField()),
  84. ('created_at', models.DateTimeField(blank=True, null=True)),
  85. ('updated_at', models.DateTimeField(blank=True, null=True)),
  86. ('lot_no', models.CharField(blank=True, max_length=50, null=True)),
  87. ('machine_id', models.IntegerField(blank=True, null=True)),
  88. ('code', models.CharField(blank=True, max_length=50, null=True)),
  89. ('emp_id', models.IntegerField()),
  90. ('devid', models.CharField(blank=True, max_length=40, null=True)),
  91. ('mode', models.CharField(blank=True, max_length=10, null=True)),
  92. ('cal_mode', models.IntegerField(blank=True, null=True)),
  93. ],
  94. options={
  95. 'db_table': 'rotate_broken_test',
  96. 'managed': False,
  97. },
  98. ),
  99. ]