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

25 lines
683 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SharedLibraryCore.Migrations.Postgresql
{
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");
}
}
}