34 lines
1.0 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|