From ce4e9c1c5e7a075abfc2032101253912856f130f Mon Sep 17 00:00:00 2001 From: Martyn Whitwell Date: Tue, 7 Jan 2025 11:44:48 +0000 Subject: [PATCH] remove extra logging --- GetIntoTeachingApi/Database/GetIntoTeachingDbContext.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/GetIntoTeachingApi/Database/GetIntoTeachingDbContext.cs b/GetIntoTeachingApi/Database/GetIntoTeachingDbContext.cs index 53285241..e5c62e4e 100644 --- a/GetIntoTeachingApi/Database/GetIntoTeachingDbContext.cs +++ b/GetIntoTeachingApi/Database/GetIntoTeachingDbContext.cs @@ -33,11 +33,5 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) .HasForeignKey(e => e.BuildingId).OnDelete(DeleteBehavior.SetNull); modelBuilder.Entity().HasKey(t => new { t.Id, t.EntityName, t.AttributeName }); } - - //TODO: remove this extra logging - protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) - { - optionsBuilder.EnableSensitiveDataLogging(); - } } }