30 lines
874 B
C#
30 lines
874 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class updatetablecmsaddshortname : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "ShortName",
|
|
table: "CMSCandidates",
|
|
type: "longtext",
|
|
nullable: true,
|
|
comment: "ชื่อย่อ")
|
|
.Annotation("MySql:CharSet", "utf8mb4");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ShortName",
|
|
table: "CMSCandidates");
|
|
}
|
|
}
|
|
}
|