Skip to content

Commit 95f7672

Browse files
authored
Update CatalogDbContext.cs (#1083)
Added base.OnModelCreating(modelBuilder); so that base functionality works i.e soft delete
1 parent d641876 commit 95f7672

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/modules/Catalog/Catalog.Infrastructure/Persistence/CatalogDbContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public CatalogDbContext(IMultiTenantContextAccessor<FshTenantInfo> multiTenantCo
2222
protected override void OnModelCreating(ModelBuilder modelBuilder)
2323
{
2424
ArgumentNullException.ThrowIfNull(modelBuilder);
25+
base.OnModelCreating(modelBuilder);
2526
modelBuilder.ApplyConfigurationsFromAssembly(typeof(CatalogDbContext).Assembly);
2627
modelBuilder.HasDefaultSchema(SchemaNames.Catalog);
2728
}

0 commit comments

Comments
 (0)