# Generated by Django 2.0.7 on 2019-08-28 13:04

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    operations = [
        migrations.CreateModel(
            name='DeviceTempLog',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('device_id', models.CharField(max_length=100, verbose_name='设备ID')),
                ('temperature', models.DecimalField(decimal_places=2, max_digits=6, verbose_name='温度')),
                ('humidity', models.DecimalField(decimal_places=2, max_digits=6, verbose_name='湿度')),
                ('last_time', models.DateTimeField(blank=True, null=True, verbose_name='日志时间')),
                ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
            ],
            options={
                'verbose_name': '设备温度湿度日志',
                'verbose_name_plural': '设备温度湿度日志',
            },
        ),
    ]
