chore: 添加时间字段
This commit is contained in:
parent
8598e71bda
commit
5c863babf2
|
@ -0,0 +1,23 @@
|
||||||
|
# Generated by Django 2.2.4 on 2024-02-13 04:24
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('mosquito', '0021_deviceinfo_weather_code'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='deviceinfo',
|
||||||
|
name='create_time',
|
||||||
|
field=models.DateTimeField(auto_now_add=True, null=True, verbose_name='创建时间'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='deviceinfo',
|
||||||
|
name='update_time',
|
||||||
|
field=models.DateTimeField(auto_now=True, null=True, verbose_name='更新时间'),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue