2018-09-11 15:28:37 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2021-03-22 12:09:25 -04:00
|
|
|
|
namespace Data.Migrations.MySql
|
2018-09-11 15:28:37 -04:00
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|