api noti เพิ่มฟารอ่านข้อความ

This commit is contained in:
Kittapath 2024-01-18 13:29:38 +07:00
parent a1bd2ec4b8
commit 78b0ad7d1d
8 changed files with 17042 additions and 12 deletions

View file

@ -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");
}
}
}