using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace TaskManager.EntityFramework.Migrations { /// public partial class z202506200002 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "TaskName", table: "TaskSub", type: "nvarchar(50)", maxLength: 50, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(30)", oldMaxLength: 30, oldNullable: true); migrationBuilder.AlterColumn( name: "Type", table: "SUPPLIER_PRO_MATERIAL_DATA", type: "VARCHAR(50)", maxLength: 50, nullable: false, oldClrType: typeof(decimal), oldType: "DECIMAL(1,0)", oldPrecision: 1); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "TaskName", table: "TaskSub", type: "nvarchar(30)", maxLength: 30, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(50)", oldMaxLength: 50, oldNullable: true); migrationBuilder.AlterColumn( name: "Type", table: "SUPPLIER_PRO_MATERIAL_DATA", type: "DECIMAL(1,0)", precision: 1, nullable: false, oldClrType: typeof(string), oldType: "VARCHAR(50)", oldMaxLength: 50); } } }