Skip to content

Commit

Permalink
remove extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
martyn-w committed Jan 7, 2025
1 parent c40d416 commit ce4e9c1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions GetIntoTeachingApi/Database/GetIntoTeachingDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,5 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
.HasForeignKey(e => e.BuildingId).OnDelete(DeleteBehavior.SetNull);
modelBuilder.Entity<PickListItem>().HasKey(t => new { t.Id, t.EntityName, t.AttributeName });
}

//TODO: remove this extra logging
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.EnableSensitiveDataLogging();
}
}
}

0 comments on commit ce4e9c1

Please sign in to comment.