24 lines
666 B
Python
24 lines
666 B
Python
# Generated by Django 3.2.12 on 2024-11-25 10:12
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('em', '0018_alter_equipment_mgroup'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='equipment',
|
|
name='importance',
|
|
field=models.PositiveSmallIntegerField(choices=[(10, 'A'), (20, 'B'), (30, 'C')], default=10, verbose_name='重要程度'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='equipment',
|
|
name='power_kw',
|
|
field=models.FloatField(blank=True, null=True, verbose_name='功率'),
|
|
),
|
|
]
|