feat(Assets): update asset services and background workers

This commit is contained in:
2026-08-09 21:01:39 +02:00
parent b57cc9894c
commit e0778b88ea
32 changed files with 1020 additions and 2062 deletions
+2 -1
View File
@@ -22,6 +22,7 @@ public class AssetsDbContext : DbContext
modelBuilder.Entity<AssetEntity>(entity =>
{
entity.HasKey(e => new {e.Isin, e.InstrumentCategory});
entity.HasIndex(e => e.LastUpdatedAt);
entity.HasDiscriminator<string>("AssetType")
.HasValue<StockEntity>("Stock")
@@ -76,4 +77,4 @@ public class AssetsDbContext : DbContext
.HasMany(a => a.Tags)
.WithMany(t => t.Assets);
}
}
}