using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class updatetablePlacementProfilesaddorg1 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "posMasterNo", table: "PlacementProfiles", type: "int", nullable: true, comment: "เลขที่ตำแหน่ง", oldClrType: typeof(string), oldType: "longtext", oldNullable: true, oldComment: "เลขที่ตำแหน่ง") .OldAnnotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "posMasterNo", table: "PlacementProfiles", type: "longtext", nullable: true, comment: "เลขที่ตำแหน่ง", oldClrType: typeof(int), oldType: "int", oldNullable: true, oldComment: "เลขที่ตำแหน่ง") .Annotation("MySql:CharSet", "utf8mb4"); } } }