feat(dal): Индексы для RobotHistory

This commit is contained in:
Mikhail Trubnikov
2026-04-15 10:48:21 +10:00
parent a93e8de4b0
commit c3b4c45892
8 changed files with 7679 additions and 6 deletions

View File

@@ -1900,12 +1900,15 @@ namespace PARR.DAL.Migrations
b.HasKey("Id");
b.HasIndex("HistoryLevel");
b.HasIndex("RobotConfigurationId");
b.HasIndex("DateCreated");
b.HasIndex("TaskStatusCode");
b.HasIndex("HistoryLevel", "DateCreated")
.IsDescending(false, true);
b.HasIndex("RobotConfigurationId", "DateCreated");
b.ToTable("RobotHistories");
});