feat(configdb): ReviewRemediationIndexes migration — AuditLog (Kind, Actor) + AuditLogEntries composite indexes

AuditLog indexes are raw SQL ON ps_AuditLog_Month so they stay partition-aligned for the switch purge.
This commit is contained in:
Joseph Doherty
2026-10-22 09:41:51 -04:00
parent 88273693f9
commit 1627513fdb
7 changed files with 2359 additions and 0 deletions
@@ -176,9 +176,11 @@ public class AuditLogEntityTypeConfigurationTests : IDisposable
// the canonical/computed shape but the discoverable names do not change).
var expected = new[]
{
"IX_AuditLog_Actor_Occurred",
"IX_AuditLog_Channel_Status_Occurred",
"IX_AuditLog_CorrelationId",
"IX_AuditLog_Execution",
"IX_AuditLog_Kind_Occurred",
"IX_AuditLog_Node_Occurred",
"IX_AuditLog_OccurredAtUtc",
"IX_AuditLog_ParentExecution",