add Voltage and Power fields

This commit is contained in:
2026-01-06 18:43:23 +03:30
parent f75d85dbb7
commit 9334e3e4c2
9 changed files with 2548 additions and 23 deletions

View File

@@ -740,6 +740,9 @@ namespace GreenHome.Infrastructure.Migrations
b.Property<int>("PersianYear")
.HasColumnType("int");
b.Property<byte?>("Power")
.HasColumnType("tinyint");
b.Property<DateTime>("ServerTimestampUtc")
.HasColumnType("datetime2");
@@ -752,6 +755,9 @@ namespace GreenHome.Infrastructure.Migrations
b.Property<DateTime>("TimestampUtc")
.HasColumnType("datetime2");
b.Property<decimal?>("Voltage")
.HasColumnType("decimal(18,2)");
b.HasKey("Id");
b.HasIndex("DeviceId", "ServerTimestampUtc");