feat(transport): add BundleImportId column on AuditLogEntry

This commit is contained in:
Joseph Doherty
2026-05-24 03:48:22 -04:00
parent 9442c9a92c
commit ee10eba04c
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ public class AuditLogEntry
public string EntityName { get; set; }
public string? AfterStateJson { get; set; }
public DateTimeOffset Timestamp { get; set; }
public Guid? BundleImportId { get; set; }
public AuditLogEntry(string user, string action, string entityType, string entityId, string entityName)
{

View File

@@ -36,5 +36,6 @@ public class AuditLogEntryConfiguration : IEntityTypeConfiguration<AuditLogEntry
builder.HasIndex(a => a.EntityType);
builder.HasIndex(a => a.EntityId);
builder.HasIndex(a => a.Action);
builder.HasIndex(a => a.BundleImportId).HasDatabaseName("IX_AuditLogEntries_BundleImportId");
}
}