using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
///
public partial class updatetableplacementaddnode1 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "node",
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: "node",
table: "PlacementProfiles",
type: "longtext",
nullable: true,
comment: "ระดับโครงสร้าง",
oldClrType: typeof(int),
oldType: "int",
oldNullable: true,
oldComment: "ระดับโครงสร้าง")
.Annotation("MySql:CharSet", "utf8mb4");
}
}
}