using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb { /// public partial class updatetabledisciplinedirectoraddprefix : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Prefix", table: "DisciplineDirectors", type: "longtext", nullable: false, comment: "คำนำหน้าชื่อ") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Prefix", table: "DisciplineDirectors"); } } }