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

23 lines
654 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.MySql
{
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");
}
}
}