Update the position count and initiator
This commit is contained in:
@@ -300,6 +300,7 @@ public class ManagingDbContext : DbContext
|
||||
entity.Property(e => e.SignalIdentifier).IsRequired().HasMaxLength(255);
|
||||
entity.Property(e => e.AccountName).IsRequired().HasMaxLength(255);
|
||||
entity.Property(e => e.UserId);
|
||||
entity.Property(e => e.InitiatorIdentifier).IsRequired();
|
||||
entity.Property(e => e.MoneyManagementJson).HasColumnType("text");
|
||||
|
||||
// Configure relationship with User
|
||||
@@ -333,7 +334,7 @@ public class ManagingDbContext : DbContext
|
||||
entity.HasIndex(e => e.Identifier).IsUnique();
|
||||
entity.HasIndex(e => e.UserId);
|
||||
entity.HasIndex(e => e.Status);
|
||||
entity.HasIndex(e => e.Date);
|
||||
entity.HasIndex(e => e.InitiatorIdentifier);
|
||||
|
||||
// Composite indexes
|
||||
entity.HasIndex(e => new { e.UserId, e.Identifier });
|
||||
|
||||
Reference in New Issue
Block a user