Skip to content

Commit

Permalink
perf(integration): add position composite indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Aug 19, 2024
1 parent 10d54b4 commit 306cbda
Show file tree
Hide file tree
Showing 4 changed files with 906 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ public void Configure(EntityTypeBuilder<BuildingVersion> builder)
builder.Ignore(x => x.LastChangedOnTimestamp);

builder.HasIndex(x => x.BuildingPersistentLocalId);
builder.HasIndex(x => new { x.BuildingId, x.Position });
builder.HasIndex(x => new { x.BuildingPersistentLocalId, x.Position });
builder.HasIndex(x => x.Status);
builder.HasIndex(x => x.OsloStatus);
builder.HasIndex(x => x.Type);
Expand Down
Loading

0 comments on commit 306cbda

Please sign in to comment.