34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# Generated by Django 3.2.12 on 2023-09-21 02:18
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('sam', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RenameField(
|
|
model_name='orderitem',
|
|
old_name='count_deliverd',
|
|
new_name='delivered_count',
|
|
),
|
|
migrations.RenameField(
|
|
model_name='orderitem',
|
|
old_name='product',
|
|
new_name='material',
|
|
),
|
|
migrations.AddField(
|
|
model_name='order',
|
|
name='submit_time',
|
|
field=models.DateTimeField(blank=True, null=True, verbose_name='提交时间'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='order',
|
|
name='state',
|
|
field=models.PositiveSmallIntegerField(choices=[(10, '创建中'), (20, '已提交'), (30, '已排产'), (40, '已交付')], default=10, help_text="((10, '创建中'), (20, '已提交'), (30, '已排产'), (40, '已交付'))", verbose_name='订单状态'),
|
|
),
|
|
]
|