feat(fundamentals): preserve ticker selection and add deterministic key executives sorting
This commit is contained in:
@@ -77,6 +77,8 @@ public class FundamentalsDbContext : DbContext
|
||||
modelBuilder.Entity<KeyExecutiveEntity>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.Id);
|
||||
entity.Property(e => e.SortOrder).HasDefaultValue(0);
|
||||
entity.HasIndex(e => new { e.AssetDataIsin, e.SortOrder });
|
||||
});
|
||||
|
||||
modelBuilder.Entity<AssetEventEntity>(entity =>
|
||||
|
||||
Reference in New Issue
Block a user