2018-06-16 22:11:25 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2020-11-27 22:52:52 -05:00
|
|
|
|
namespace SharedLibraryCore.Migrations.Postgresql
|
2018-06-16 22:11:25 -04:00
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|