32 lines
929 B
C#
32 lines
929 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations
|
|
{
|
|
public partial class updatedcreditor : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "ClientFirstName",
|
|
table: "Creditors",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "ClientLastName",
|
|
table: "Creditors",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ClientFirstName",
|
|
table: "Creditors");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ClientLastName",
|
|
table: "Creditors");
|
|
}
|
|
}
|
|
}
|