This commit is contained in:
2026-04-05 03:33:23 +03:30
parent 32dbbed1af
commit df15d03d7c
7 changed files with 492 additions and 28 deletions
@@ -0,0 +1,27 @@
# Generated by Django 5.1.15 on 2026-04-04 21:00
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="SensorExternalRequestLog",
fields=[
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
("farm_uuid", models.UUIDField(db_index=True)),
("sensor_catalog_uuid", models.UUIDField(blank=True, db_index=True, null=True)),
("physical_device_uuid", models.UUIDField(db_index=True)),
("payload", models.JSONField(blank=True, default=dict)),
("created_at", models.DateTimeField(auto_now_add=True)),
],
options={
"db_table": "sensor_external_request_logs",
"ordering": ["-created_at", "-id"],
},
),
]