39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace CompanyManagment.EFCore.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddCEOFNameandLName : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "CeoFName",
|
|
table: "PersonalContractingParties",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "CeoLName",
|
|
table: "PersonalContractingParties",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "CeoFName",
|
|
table: "PersonalContractingParties");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "CeoLName",
|
|
table: "PersonalContractingParties");
|
|
}
|
|
}
|
|
}
|