IW4M-Admin/Data/Migrations/MySql/20230124030137_AddLastConnectionIndexEFClient.cs

25 lines
674 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Data.Migrations.MySql
{
public partial class AddLastConnectionIndexEFClient : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateIndex(
name: "IX_EFClients_LastConnection",
table: "EFClients",
column: "LastConnection");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_EFClients_LastConnection",
table: "EFClients");
}
}
}