IW4M-Admin/SharedLibraryCore/Migrations/20180912015012_AddPreviousCurrentValueToEFChangeHistory.cs
2018-09-23 19:45:54 -05:00

33 lines
939 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace SharedLibraryCore.Migrations
{
public partial class AddPreviousCurrentValueToEFChangeHistory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "CurrentValue",
table: "EFChangeHistory",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "PreviousValue",
table: "EFChangeHistory",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CurrentValue",
table: "EFChangeHistory");
migrationBuilder.DropColumn(
name: "PreviousValue",
table: "EFChangeHistory");
}
}
}