IW4M-Admin/SharedLibraryCore/Migrations/20180614014303_IndexForEFAlias.cs

25 lines
672 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SharedLibraryCore.Migrations
{
public partial class IndexForEFAlias : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateIndex(
name: "IX_EFAlias_IPAddress",
table: "EFAlias",
column: "IPAddress");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_EFAlias_IPAddress",
table: "EFAlias");
}
}
}