using Microsoft.EntityFrameworkCore.Migrations; namespace WCS.Service.Migrations { public partial class _754 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "FLAGS", table: "WCS_STATION520"); migrationBuilder.DropColumn( name: "WEIGHT", table: "WCS_STATION520"); migrationBuilder.AlterColumn( name: "CONFIRM", table: "WCS_STATION520", type: "bit", nullable: false, oldClrType: typeof(short), oldType: "smallint"); migrationBuilder.AddColumn( name: "RES", table: "WCS_STATION520", type: "bit", nullable: false, defaultValue: false); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "RES", table: "WCS_STATION520"); migrationBuilder.AlterColumn( name: "CONFIRM", table: "WCS_STATION520", type: "smallint", nullable: false, oldClrType: typeof(bool), oldType: "bit"); migrationBuilder.AddColumn( name: "FLAGS", table: "WCS_STATION520", type: "smallint", nullable: false, defaultValue: (short)0); migrationBuilder.AddColumn( name: "WEIGHT", table: "WCS_STATION520", type: "smallint", nullable: false, defaultValue: (short)0); } } }