using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class AddFieldsNotetoProfileInsignia : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Note", table: "ProfileInsignias", type: "longtext", nullable: true, comment: "หมายเหตุ") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "Note", table: "ProfileInsigniaHistorys", type: "longtext", nullable: true, comment: "หมายเหตุ") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Note", table: "ProfileInsignias"); migrationBuilder.DropColumn( name: "Note", table: "ProfileInsigniaHistorys"); } } }