using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb { /// public partial class updatetableDisciplineComplaint_Appealsaddposition : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Oc", table: "DisciplineComplaint_Appeals", type: "longtext", nullable: true, comment: "สังกัดผู้อุทธรณ์/ร้องทุกข์") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "Position", table: "DisciplineComplaint_Appeals", type: "longtext", nullable: true, comment: "ตำแหน่งผู้อุทธรณ์/ร้องทุกข์") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Oc", table: "DisciplineComplaint_Appeals"); migrationBuilder.DropColumn( name: "Position", table: "DisciplineComplaint_Appeals"); } } }