feature: RBAC + Clinical Audit Logging
This commit is contained in:
@@ -97,6 +97,7 @@ public static class DataSeeder
|
||||
|
||||
public static async Task SeedThresholdsOnlyAsync(AppDbContext db, IConnectionMultiplexer redis)
|
||||
{
|
||||
await db.Database.ExecuteSqlRawAsync("DELETE FROM alert_thresholds");
|
||||
var thresholds = BuildDefaultThresholds();
|
||||
db.AlertThresholds.AddRange(thresholds);
|
||||
await db.SaveChangesAsync();
|
||||
|
||||
Reference in New Issue
Block a user