-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add missing index on LastChangedList GRAR-1271
- Loading branch information
1 parent
39a83fc
commit 9c758e3
Showing
5 changed files
with
134 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ | |
"commands": [ | ||
"paket" | ||
] | ||
}, | ||
"dotnet-ef": { | ||
"version": "3.1.2", | ||
"commands": [ | ||
"dotnet-ef" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
...ionHandling.LastChangedList/Migrations/20200506120307_AddLastChangedListIndex.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...s.ProjectionHandling.LastChangedList/Migrations/20200506120307_AddLastChangedListIndex.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
namespace Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList.Migrations | ||
{ | ||
public partial class AddLastChangedListIndex : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.CreateIndex( | ||
name: "IX_LastChangedList_Position_LastPopulatedPosition_ErrorCount_LastError", | ||
schema: "Redis", | ||
table: "LastChangedList", | ||
columns: new[] { "Position", "LastPopulatedPosition", "ErrorCount", "LastError" }); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropIndex( | ||
name: "IX_LastChangedList_Position_LastPopulatedPosition_ErrorCount_LastError", | ||
schema: "Redis", | ||
table: "LastChangedList"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters