Migrate เพิ่มฟิลด์สถานะคัดกรองคุณสมบัติ
This commit is contained in:
parent
c28a068185
commit
bb0b296086
5 changed files with 3217 additions and 10 deletions
3153
Migrations/20260310044710_update_table_DisableScore_add_field_ExamAttribute.Designer.cs
generated
Normal file
3153
Migrations/20260310044710_update_table_DisableScore_add_field_ExamAttribute.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,32 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class update_table_DisableScore_add_field_ExamAttribute : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ExamAttribute",
|
||||
table: "DisableScores",
|
||||
type: "varchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "สถานะคัดกรองคุณสมบัติ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ExamAttribute",
|
||||
table: "DisableScores");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue