b9086fd145
update RestEase and CodePages dependencies optimized the find by name query add index to name
23 lines
613 B
C#
23 lines
613 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace SharedLibraryCore.Migrations
|
|
{
|
|
public partial class AddEFAliasNameIndex : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_EFAlias_Name",
|
|
table: "EFAlias",
|
|
column: "Name");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropIndex(
|
|
name: "IX_EFAlias_Name",
|
|
table: "EFAlias");
|
|
}
|
|
}
|
|
}
|