using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class AddReceiverEmailtoMessageQueue : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ReceiverEmailAddress", table: "MessageQueues", type: "varchar(500)", maxLength: 500, nullable: false, defaultValue: "", comment: "อีเมล์ของผู้รับ") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ReceiverEmailAddress", table: "MessageQueues"); } } }