c5375b661b
broke data out into its own library. may be breaking changes with existing plugins
33 lines
937 B
C#
33 lines
937 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace Data.Migrations.Postgresql
|
|
{
|
|
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");
|
|
}
|
|
}
|
|
}
|