17 lines
579 B
Python
17 lines
579 B
Python
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [("inventory", "0005_auditlog_api_client_device_hwid_inventoryapikey")]
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="device", name="revision",
|
|
field=models.PositiveBigIntegerField(default=1, editable=False),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="device", name="updated_at",
|
|
field=models.DateTimeField(default=django.utils.timezone.now, editable=False),
|
|
),
|
|
]
|