hrms-api-exam/Migrations/20250127093245_update table period add qrcode1.cs
2025-01-27 16:58:16 +07:00

30 lines
869 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Recurit.Exam.Service.Migrations
{
/// <inheritdoc />
public partial class updatetableperiodaddqrcode1 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CustomerName",
table: "PeriodExams");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "CustomerName",
table: "PeriodExams",
type: "longtext",
nullable: true,
comment: "Customer name")
.Annotation("MySql:CharSet", "utf8mb4");
}
}
}