using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace WCS.Service.Migrations { public partial class _10 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "RES4_2", table: "WCS_SRM520", type: "smallint", nullable: false, oldClrType: typeof(byte), oldType: "tinyint"); migrationBuilder.AlterColumn( name: "RES4_1", table: "WCS_SRM520", type: "smallint", nullable: false, oldClrType: typeof(byte), oldType: "tinyint"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "RES4_2", table: "WCS_SRM520", type: "tinyint", nullable: false, oldClrType: typeof(short), oldType: "smallint"); migrationBuilder.AlterColumn( name: "RES4_1", table: "WCS_SRM520", type: "tinyint", nullable: false, oldClrType: typeof(short), oldType: "smallint"); } } }