fix #1357 ปรับ API

This commit is contained in:
Suphonchai Phoonsawat 2025-05-29 13:57:44 +07:00
parent 7b55e16e7d
commit 88270a230f
6 changed files with 20839 additions and 27 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddProfileTypeToInsigniaRequest : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ProfileType",
table: "InsigniaRequests",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ProfileType",
table: "InsigniaRequests");
}
}
}

View file

@ -6542,6 +6542,9 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<Guid>("PeriodId")
.HasColumnType("char(36)");
b.Property<string>("ProfileType")
.HasColumnType("longtext");
b.Property<string>("RequestNote")
.IsRequired()
.HasColumnType("text");