@@ -0,0 +1,20 @@ |
||
1 |
+# -*- coding: utf-8 -*- |
|
2 |
+# Generated by Django 1.11.26 on 2021-09-16 10:27 |
|
3 |
+from __future__ import unicode_literals |
|
4 |
+ |
|
5 |
+from django.db import migrations, models |
|
6 |
+ |
|
7 |
+ |
|
8 |
+class Migration(migrations.Migration): |
|
9 |
+ |
|
10 |
+ dependencies = [ |
|
11 |
+ ('maintenance', '0004_auto_20210916_1822'), |
|
12 |
+ ] |
|
13 |
+ |
|
14 |
+ operations = [ |
|
15 |
+ migrations.AlterField( |
|
16 |
+ model_name='maintenaceinfo', |
|
17 |
+ name='model_id', |
|
18 |
+ field=models.CharField(blank=True, db_index=True, help_text='\u578b\u53f7\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='model_id'), |
|
19 |
+ ), |
|
20 |
+ ] |
@@ -58,7 +58,7 @@ class MaintenaceInfo(BaseModelMixin): |
||
58 | 58 |
address = models.CharField(_(u'address'), max_length=255, blank=True, null=True, help_text=u'地址') |
59 | 59 |
|
60 | 60 |
log_id = models.CharField(_(u'log_id'), max_length=255, blank=True, null=True, help_text=u'用户提交列表的唯一标识') |
61 |
- model_id = models.CharField(_(u'user_id'), max_length=32, blank=True, null=True, help_text=u'型号唯一标识', db_index=True) |
|
61 |
+ model_id = models.CharField(_(u'model_id'), max_length=32, blank=True, null=True, help_text=u'型号唯一标识', db_index=True) |
|
62 | 62 |
sn = models.CharField(_(u'sn'), max_length=32, blank=True, null=True, help_text=u'序列号', db_index=True) |
63 | 63 |
desc = models.TextField(_(u'desc'), blank=True, null=True, help_text=u'故障描述') |
64 | 64 |
|