using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace TaskManager.EntityFramework.Migrations { /// public partial class z202506090009 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Version", table: "TaskLogs", type: "nvarchar(30)", maxLength: 30, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(20)", oldMaxLength: 20, oldNullable: true); migrationBuilder.AlterColumn( name: "Type", table: "TaskLogs", type: "nvarchar(30)", maxLength: 30, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(20)", oldMaxLength: 20, oldNullable: true); migrationBuilder.AlterColumn( name: "TaskName", table: "TaskLogs", type: "nvarchar(30)", maxLength: 30, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(20)", oldMaxLength: 20, oldNullable: true); migrationBuilder.AlterColumn( name: "Path", table: "TaskLogs", type: "nvarchar(30)", maxLength: 30, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(20)", oldMaxLength: 20, oldNullable: true); migrationBuilder.AlterColumn( name: "Info", table: "TaskLogs", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(20)", oldMaxLength: 20, oldNullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Version", table: "TaskLogs", type: "nvarchar(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(30)", oldMaxLength: 30, oldNullable: true); migrationBuilder.AlterColumn( name: "Type", table: "TaskLogs", type: "nvarchar(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(30)", oldMaxLength: 30, oldNullable: true); migrationBuilder.AlterColumn( name: "TaskName", table: "TaskLogs", type: "nvarchar(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(30)", oldMaxLength: 30, oldNullable: true); migrationBuilder.AlterColumn( name: "Path", table: "TaskLogs", type: "nvarchar(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(30)", oldMaxLength: 30, oldNullable: true); migrationBuilder.AlterColumn( name: "Info", table: "TaskLogs", type: "nvarchar(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); } } }