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