api noti เพิ่มฟารอ่านข้อความ
This commit is contained in:
parent
a1bd2ec4b8
commit
78b0ad7d1d
8 changed files with 17042 additions and 12 deletions
16965
BMA.EHR.Infrastructure/Migrations/20240118061643_update table noti add DeleteDate.Designer.cs
generated
Normal file
16965
BMA.EHR.Infrastructure/Migrations/20240118061643_update table noti add DeleteDate.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablenotiaddDeleteDate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "DeleteDate",
|
||||
table: "Notifications",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "วันที่ลบข้อมูล");
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "DeleteDate",
|
||||
table: "Inboxes",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "วันที่ลบข้อมูล");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DeleteDate",
|
||||
table: "Notifications");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DeleteDate",
|
||||
table: "Inboxes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9083,6 +9083,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<DateTime?>("DeleteDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่ลบข้อมูล");
|
||||
|
||||
b.Property<bool>("IsOpen")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("เปิดอ่านแล้วหรือยัง");
|
||||
|
|
@ -9267,6 +9271,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<DateTime?>("DeleteDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่ลบข้อมูล");
|
||||
|
||||
b.Property<bool>("IsOpen")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("เปิดอ่านแล้วหรือยัง");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue