using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class updatetablePlacementAppointmentsaddAmount : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Amount", table: "PlacementRelocations", type: "double", nullable: true, comment: "เงินเดือน"); migrationBuilder.AddColumn( name: "Amount", table: "PlacementReceives", type: "double", nullable: true, comment: "เงินเดือน"); migrationBuilder.AddColumn( name: "Amount", table: "PlacementAppointments", type: "double", nullable: true, comment: "เงินเดือน"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Amount", table: "PlacementRelocations"); migrationBuilder.DropColumn( name: "Amount", table: "PlacementReceives"); migrationBuilder.DropColumn( name: "Amount", table: "PlacementAppointments"); } } }