|
|
-
|
|
3
|
|
-from django.db import migrations, models
|
|
4
|
|
-
|
|
5
|
|
-
|
|
6
|
|
-class Migration(migrations.Migration):
|
|
7
|
|
-
|
|
8
|
|
- dependencies = [
|
|
9
|
|
- ('equipment', '0005_thermometerequipmentinfo_last_submit_at'),
|
|
10
|
|
- ]
|
|
11
|
|
-
|
|
12
|
|
- operations = [
|
|
13
|
|
- migrations.AddField(
|
|
14
|
|
- model_name='thermometermeasureinfo',
|
|
15
|
|
- name='point_measure_ymd',
|
|
16
|
|
- field=models.CharField(blank=True, db_index=True, help_text='隔离点测温日期', max_length=10, null=True, verbose_name='point_measure_ymd'),
|
|
17
|
|
- ),
|
|
18
|
|
- migrations.AlterUniqueTogether(
|
|
19
|
|
- name='thermometermeasureinfo',
|
|
20
|
|
- unique_together={('point_id', 'point_measure_ymd', 'point_measure_window', 'macid')},
|
|
21
|
|
- ),
|
|
22
|
|
- ]
|