using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb { /// public partial class updatetabledisciplineaddlevel : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PositionLevel", table: "DisciplineReport_Profiles", type: "longtext", nullable: true, comment: "ระดับ") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "PositionType", table: "DisciplineReport_Profiles", type: "longtext", nullable: true, comment: "ประเภท") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PositionLevel", table: "DisciplineReport_Profiles"); migrationBuilder.DropColumn( name: "PositionType", table: "DisciplineReport_Profiles"); } } }