using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace WCS.Service.Migrations { public partial class _12 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { //migrationBuilder.RenameColumn( // name: "Istation521Status", // table: "WCS_STATION521", // newName: "Status"); migrationBuilder.AlterColumn( name: "Position", table: "WCS_RGV521", type: "int", nullable: false, oldClrType: typeof(float), oldType: "real"); } protected override void Down(MigrationBuilder migrationBuilder) { //migrationBuilder.RenameColumn( // name: "Status", // table: "WCS_STATION521", // newName: "Istation521Status"); migrationBuilder.AlterColumn( name: "Position", table: "WCS_RGV521", type: "real", nullable: false, oldClrType: typeof(int), oldType: "int"); } } }