using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class AddAuthorizedPositiontoCommandTable : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "AuthorizedPosition", table: "Commands", type: "longtext", nullable: false, comment: "ตำแหน่งผู้มีอำนาจลงนาม") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "AuthorizedPosition", table: "Commands"); } } }