IW4M-Admin/Data/Migrations/MySql/20180912015012_AddPreviousCurrentValueToEFChangeHistory.cs

33 lines
932 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace Data.Migrations.MySql
{
public partial class AddPreviousCurrentValueToEFChangeHistory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "CurrentValue",
table: "EFChangeHistory",
nullable: true);
migrationBuilder.AddColumn<string>(
2018-09-23 20:45:54 -04:00
name: "PreviousValue",
table: "EFChangeHistory",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CurrentValue",
table: "EFChangeHistory");
migrationBuilder.DropColumn(
name: "PreviousValue",
table: "EFChangeHistory");
}
}
}