using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace MTWorkHR.Infrastructure.Migrations { /// public partial class altrAttachmentOriginal : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "OriginalName", table: "UserAttachments", type: "nvarchar(250)", maxLength: 250, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(250)", oldMaxLength: 250); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "OriginalName", table: "UserAttachments", type: "nvarchar(250)", maxLength: 250, nullable: false, defaultValue: "", oldClrType: typeof(string), oldType: "nvarchar(250)", oldMaxLength: 250, oldNullable: true); } } }