feat(configdb): map AuditEvent to AuditLog table with PK and five named indexes (#23)

This commit is contained in:
Joseph Doherty
2026-05-20 10:05:49 -04:00
parent 08743bc42d
commit fb423b11ab
3 changed files with 208 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ public class ScadaLinkDbContext : DbContext, IDataProtectionKeyContext
// Audit
public DbSet<AuditLogEntry> AuditLogEntries => Set<AuditLogEntry>();
public DbSet<AuditEvent> AuditLogs => Set<AuditEvent>();
// Data Protection Keys (for shared ASP.NET Data Protection across nodes)
public DbSet<DataProtectionKey> DataProtectionKeys => Set<DataProtectionKey>();