diff --git a/SightKeeper.Data/AppDbContext.cs b/SightKeeper.Data/AppDbContext.cs index ed609b16..7333d524 100644 --- a/SightKeeper.Data/AppDbContext.cs +++ b/SightKeeper.Data/AppDbContext.cs @@ -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());