add note to ProfileEducation

This commit is contained in:
Suphonchai Phoonsawat 2024-03-04 09:24:19 +07:00
parent 1393969516
commit 0ed8935b4c
5 changed files with 17210 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,42 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddFieldsNotetoProfileEducation : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Note",
table: "ProfileEducations",
type: "longtext",
nullable: true,
comment: "หมายเหตุ")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Note",
table: "ProfileEducationHistorys",
type: "longtext",
nullable: true,
comment: "หมายเหตุ")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Note",
table: "ProfileEducations");
migrationBuilder.DropColumn(
name: "Note",
table: "ProfileEducationHistorys");
}
}
}

View file

@ -2979,6 +2979,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(102)
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
b.Property<string>("Note")
.HasColumnType("longtext")
.HasComment("หมายเหตุ");
b.Property<string>("Other")
.HasMaxLength(1000)
.HasColumnType("varchar(1000)")
@ -3108,6 +3112,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(102)
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
b.Property<string>("Note")
.HasColumnType("longtext")
.HasComment("หมายเหตุ");
b.Property<string>("Other")
.HasMaxLength(1000)
.HasColumnType("varchar(1000)")