hrms-api-backend/BMA.EHR.Infrastructure/Migrations/20230901061213_update table profilesalary add SalaryStatus.cs
2023-09-01 15:21:27 +07:00

30 lines
936 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetableprofilesalaryaddSalaryStatus : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "SalaryStatus",
table: "ProfileSalaries",
type: "longtext",
nullable: true,
comment: "ประเภทตำแหน่งกรณีพิเศษ")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SalaryStatus",
table: "ProfileSalaries");
}
}
}