parent
a352ec6578
commit
f5f4115ef0
7 changed files with 3720 additions and 31 deletions
30
Migrations/20250901100117_add_field_recruits.HddPosition.cs
Normal file
30
Migrations/20250901100117_add_field_recruits.HddPosition.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recruit.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class add_field_recruitsHddPosition : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "HddPosition",
|
||||
table: "Recruits",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "บัญชีสอบ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "HddPosition",
|
||||
table: "Recruits");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue