diff --git a/src/HealthChecks.UI.Data/HealthChecksDb.cs b/src/HealthChecks.UI.Data/HealthChecksDb.cs index b51046af48..b68c935a6d 100644 --- a/src/HealthChecks.UI.Data/HealthChecksDb.cs +++ b/src/HealthChecks.UI.Data/HealthChecksDb.cs @@ -27,6 +27,7 @@ public HealthChecksDb(DbContextOptions options) : base(options) protected override void OnModelCreating(ModelBuilder modelBuilder) { + modelBuilder.HasDefaultSchema("HealthCheck"); modelBuilder.ApplyConfiguration(new HealthCheckConfigurationMap()); modelBuilder.ApplyConfiguration(new HealthCheckExecutionMap()); modelBuilder.ApplyConfiguration(new HealthCheckExecutionEntryMap());