2018-09-12 19:53:11 -05:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
2020-11-27 21:52:52 -06:00
|
|
|
|
namespace SharedLibraryCore.Migrations.Postgresql
|
2018-09-12 19:53:11 -05:00
|
|
|
|
{
|
|
|
|
|
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 19:45:54 -05:00
|
|
|
|
|
2018-09-12 19:53:11 -05: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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|