Skip to content

Commit

Permalink
feat: add combined index isremoved and status on integration projections
Browse files Browse the repository at this point in the history
  • Loading branch information
jvandaal authored and ArneD committed Apr 29, 2024
1 parent f36cfa3 commit 6d8696a
Show file tree
Hide file tree
Showing 5 changed files with 627 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public void Configure(EntityTypeBuilder<BuildingLatestItem> builder)
builder.HasIndex(x => x.Status);
builder.HasIndex(x => x.OsloStatus);
builder.HasIndex(x => x.IsRemoved);
builder.HasIndex(x => new { x.IsRemoved, x.Status });
builder.HasIndex(x => x.NisCode);
builder.HasIndex(x => x.Geometry).HasMethod("GIST");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public void Configure(EntityTypeBuilder<BuildingUnitLatestItem> builder)
builder.HasIndex(x => x.Status);
builder.HasIndex(x => x.OsloStatus);
builder.HasIndex(x => x.IsRemoved);
builder.HasIndex(x => new { x.IsRemoved, x.Status });
builder.HasIndex(x => x.Geometry).HasMethod("GIST");
}
}
Expand Down
Loading

0 comments on commit 6d8696a

Please sign in to comment.