Split maintenance into host and battery types with separate forms
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0.6 on 2026-05-18 03:33
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ups_manager', '0003_alter_upshost_brand'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='maintenancerecord',
|
||||
name='maintenance_type',
|
||||
field=models.CharField(choices=[('host', '主机维修'), ('battery', '电池维修')], default='host', max_length=20, verbose_name='维修类型'),
|
||||
),
|
||||
]
|
||||
Binary file not shown.
Reference in New Issue
Block a user