using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Recruit.Migrations { /// public partial class ChangeimportdetailField : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Detail", table: "RecruitImports", type: "longtext", nullable: true, comment: "รายละเอียด", oldClrType: typeof(string), oldType: "text", oldNullable: true, oldComment: "รายละเอียด") .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Detail", table: "RecruitImports", type: "text", nullable: true, comment: "รายละเอียด", oldClrType: typeof(string), oldType: "longtext", oldNullable: true, oldComment: "รายละเอียด") .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); } } }