Files
vigilcare-clinical/VigilCare.WardGateway/Migrations/20260625000000_AddLocalAlertExplanation.cs
voltsrage a6a491a2da
CI / backend (push) Failing after 8m50s
CI / frontend (push) Failing after 1m45s
Fix tests
2026-08-05 20:21:23 +08:00

28 lines
759 B
C#

using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace VigilCare.WardGateway.Migrations;
[DbContext(typeof(GatewayDbContext))]
[Migration("20260625000000_AddLocalAlertExplanation")]
public partial class AddLocalAlertExplanation : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "explanation",
table: "clinical_alerts",
type: "jsonb",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "explanation",
table: "clinical_alerts");
}
}