Add migrations for agent table
This commit is contained in:
@@ -96,7 +96,8 @@ namespace Managing.Infrastructure.Databases.Migrations
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<decimal>("NetPnL")
|
||||
.HasColumnType("numeric");
|
||||
.HasPrecision(18, 8)
|
||||
.HasColumnType("numeric(18,8)");
|
||||
|
||||
b.Property<DateTime?>("Runtime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
@@ -106,7 +107,8 @@ namespace Managing.Infrastructure.Databases.Migrations
|
||||
.HasColumnType("numeric(18,8)");
|
||||
|
||||
b.Property<decimal>("TotalFees")
|
||||
.HasColumnType("numeric");
|
||||
.HasPrecision(18, 8)
|
||||
.HasColumnType("numeric(18,8)");
|
||||
|
||||
b.Property<decimal>("TotalPnL")
|
||||
.HasColumnType("decimal(18,8)");
|
||||
@@ -129,7 +131,8 @@ namespace Managing.Infrastructure.Databases.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("AgentName");
|
||||
b.HasIndex("AgentName")
|
||||
.IsUnique();
|
||||
|
||||
b.HasIndex("TotalPnL");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user