no message
This commit is contained in:
parent
2a17eff17d
commit
fb6a83b36a
11 changed files with 17862 additions and 70 deletions
17652
BMA.EHR.Infrastructure/Migrations/20240521044624_update table Notification add KeycloakUserId.Designer.cs
generated
Normal file
17652
BMA.EHR.Infrastructure/Migrations/20240521044624_update table Notification add KeycloakUserId.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,52 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableNotificationaddKeycloakUserId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "profileId",
|
||||
table: "RetirementDeceasedNotis",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "profile Id")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "KeycloakUserId",
|
||||
table: "Notifications",
|
||||
type: "longtext",
|
||||
nullable: false)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "KeycloakUserId",
|
||||
table: "Inboxes",
|
||||
type: "longtext",
|
||||
nullable: false)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "profileId",
|
||||
table: "RetirementDeceasedNotis");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KeycloakUserId",
|
||||
table: "Notifications");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KeycloakUserId",
|
||||
table: "Inboxes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9250,6 +9250,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("เปิดอ่านแล้วหรือยัง");
|
||||
|
||||
b.Property<string>("KeycloakUserId")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
|
|
@ -9438,6 +9442,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("เปิดอ่านแล้วหรือยัง");
|
||||
|
||||
b.Property<string>("KeycloakUserId")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
|
|
@ -14158,6 +14166,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<Guid>("RetirementDeceasedId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("profileId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("DocumentId");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue