using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
///
public partial class AddfieldtoProfileSalaryTable : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "CommandNo",
table: "ProfileSalaries",
type: "longtext",
nullable: false,
comment: "เลขที่คำสั่ง")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "CommandTypeName",
table: "ProfileSalaries",
type: "longtext",
nullable: false,
comment: "ประเภทคำสั่ง")
.Annotation("MySql:CharSet", "utf8mb4");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CommandNo",
table: "ProfileSalaries");
migrationBuilder.DropColumn(
name: "CommandTypeName",
table: "ProfileSalaries");
}
}
}