IW4M-Admin/Data/Migrations/Postgresql/20200423225137_AddImpersonationIdToEFChangeHistory.cs

23 lines
659 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.Postgresql
{
public partial class AddImpersonationIdToEFChangeHistory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ImpersonationEntityId",
table: "EFChangeHistory",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ImpersonationEntityId",
table: "EFChangeHistory");
}
}
}