Skip to content

Commit

Permalink
use ChangingAndChangedNotificationsWithOriginalValues for fix excepti…
Browse files Browse the repository at this point in the history
…on while saving profile edits dotnet/efcore#32168
  • Loading branch information
Neakita committed Nov 9, 2023
1 parent bbf21a4 commit 8a6e053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SightKeeper.Data/AppDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static void SetupSqlite(DbContextOptionsBuilder optionsBuilder)

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.HasChangeTrackingStrategy(ChangeTrackingStrategy.ChangingAndChangedNotifications);
modelBuilder.HasChangeTrackingStrategy(ChangeTrackingStrategy.ChangingAndChangedNotificationsWithOriginalValues);

modelBuilder.ApplyConfiguration(new ScreenshotsLibraryConfiguration());
modelBuilder.ApplyConfiguration(new ScreenshotConfiguration());
Expand Down

0 comments on commit 8a6e053

Please sign in to comment.