IW4M-Admin/Data/Migrations/MySql/20180911184224_AddEFAliasNameIndex.cs

23 lines
606 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.MySql
{
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");
}
}
}