From 7028fd31eef57044dd7994fbb8918e38e5e06eb3 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 15 Aug 2024 10:43:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20wmaterial=E5=A2=9E=E5=8A=A0state?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=B9=B6=E8=BF=9B=E8=A1=8C=E7=9B=B8=E5=BA=94?= =?UTF-8?q?=E5=A4=84=E7=90=862?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/migrations/0061_wmaterial_state.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/wpm/migrations/0061_wmaterial_state.py diff --git a/apps/wpm/migrations/0061_wmaterial_state.py b/apps/wpm/migrations/0061_wmaterial_state.py new file mode 100644 index 00000000..b674b426 --- /dev/null +++ b/apps/wpm/migrations/0061_wmaterial_state.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2024-08-15 02:41 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('wpm', '0060_auto_20240812_1048'), + ] + + operations = [ + migrations.AddField( + model_name='wmaterial', + name='state', + field=models.PositiveSmallIntegerField(choices=[(10, '合格'), (20, '不合格'), (30, '返修'), (40, '检验'), (50, '报废')], default=10, verbose_name='状态'), + ), + ]