using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Recruit.Migrations { /// public partial class ChangeSumScoretodouble : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "SumC", table: "RecruitScores", type: "double", nullable: false, oldClrType: typeof(int), oldType: "int"); migrationBuilder.AlterColumn( name: "SumB", table: "RecruitScores", type: "double", nullable: false, oldClrType: typeof(int), oldType: "int"); migrationBuilder.AlterColumn( name: "SumAB", table: "RecruitScores", type: "double", nullable: false, oldClrType: typeof(int), oldType: "int"); migrationBuilder.AlterColumn( name: "SumA", table: "RecruitScores", type: "double", nullable: false, oldClrType: typeof(int), oldType: "int"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "SumC", table: "RecruitScores", type: "int", nullable: false, oldClrType: typeof(double), oldType: "double"); migrationBuilder.AlterColumn( name: "SumB", table: "RecruitScores", type: "int", nullable: false, oldClrType: typeof(double), oldType: "double"); migrationBuilder.AlterColumn( name: "SumAB", table: "RecruitScores", type: "int", nullable: false, oldClrType: typeof(double), oldType: "double"); migrationBuilder.AlterColumn( name: "SumA", table: "RecruitScores", type: "int", nullable: false, oldClrType: typeof(double), oldType: "double"); } } }