add Voltage and Power fields
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user