COA.EnterpriseServices/COA.EnterpriseServices.DataAccess.EntityFramework/Migrations/20201015115918_add-creditor-profile-properties.cs

34 lines
1.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations
{
public partial class addcreditorprofileproperties : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "CurrentCreditorProfileId",
table: "Creditors",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "OriginalCreditorProfileId",
table: "Creditors",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CurrentCreditorProfileId",
table: "Creditors");
migrationBuilder.DropColumn(
name: "OriginalCreditorProfileId",
table: "Creditors");
}
}
}