fix add and list telementry

This commit is contained in:
2025-11-27 16:30:34 +03:30
parent dbebcb85f2
commit 0e10462a99
11 changed files with 1291 additions and 124 deletions

View File

@@ -203,6 +203,9 @@ namespace GreenHome.Infrastructure.Migrations
b.Property<int>("PersianYear")
.HasColumnType("int");
b.Property<DateTime>("ServerTimestampUtc")
.HasColumnType("datetime2");
b.Property<decimal>("SoilPercent")
.HasColumnType("decimal(18,2)");
@@ -214,6 +217,8 @@ namespace GreenHome.Infrastructure.Migrations
b.HasKey("Id");
b.HasIndex("DeviceId", "ServerTimestampUtc");
b.HasIndex("DeviceId", "TimestampUtc");
b.HasIndex("DeviceId", "PersianYear", "PersianMonth");