Skip to content

Commit

Permalink
soft delete project
Browse files Browse the repository at this point in the history
  • Loading branch information
elielijah321 committed Apr 5, 2024
1 parent 2aefa89 commit 6d39420
Show file tree
Hide file tree
Showing 12 changed files with 2,210 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dfe.Academies.Academisation.Data/AcademisationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ private static void ConfigureProject(EntityTypeBuilder<Project> projectConfigura

});

projectConfiguration.HasQueryFilter(d => !d.DeletedAt.HasValue);

projectConfiguration
.HasMany(a => a.Notes)
.WithOne()
Expand Down
Loading

0 comments on commit 6d39420

Please sign in to comment.