apply migrarion
This commit is contained in:
parent
51b849f882
commit
164ed56671
3 changed files with 20800 additions and 0 deletions
20642
BMA.EHR.Infrastructure/Migrations/20250519034501_Add Migration For Insignia and Leave.Designer.cs
generated
Normal file
20642
BMA.EHR.Infrastructure/Migrations/20250519034501_Add Migration For Insignia and Leave.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,128 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddMigrationForInsigniaandLeave : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "APR1",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "APR2",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "APR3",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "APR4",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "APR5",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OCT1",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OCT2",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OCT3",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OCT4",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OCT5",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "APR1",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "APR2",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "APR3",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "APR4",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "APR5",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OCT1",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OCT2",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OCT3",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OCT4",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OCT5",
|
||||
table: "InsigniaRequestProfiles");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6569,6 +6569,21 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<string>("APR1")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("APR2")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("APR3")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("APR4")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("APR5")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<double?>("Amount")
|
||||
.HasColumnType("double");
|
||||
|
||||
|
|
@ -6689,6 +6704,21 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("text")
|
||||
.HasComment("รายละเอียดเครื่องราชฯที่ขอ");
|
||||
|
||||
b.Property<string>("OCT1")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("OCT2")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("OCT3")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("OCT4")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("OCT5")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("PosLevelName")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue