hrms-api-backend/BMA.EHR.Infrastructure/Migrations/LeaveDb/20231123083034_add user 'dutytime remark.cs
Suphonchai Phoonsawat 2bf43a52b5 change round
2023-11-23 15:48:09 +07:00

30 lines
868 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
{
/// <inheritdoc />
public partial class adduserdutytimeremark : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Remark",
table: "UserDutyTimes",
type: "longtext",
nullable: true,
comment: "หมายเหตุ")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Remark",
table: "UserDutyTimes");
}
}
}