using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace MTWorkHR.Infrastructure.Migrations { /// public partial class altrAttachpath : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "FilePath", table: "UserAttachments", type: "nvarchar(max)", nullable: true); migrationBuilder.UpdateData( table: "AspNetUsers", keyColumn: "Id", keyValue: "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA", columns: new[] { "CompanyId", "NormalizedUserName", "UserName" }, values: new object[] { 1L, "A@B.COM", "A@b.com" }); migrationBuilder.UpdateData( table: "AspNetUsers", keyColumn: "Id", keyValue: "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB", columns: new[] { "CompanyId", "NormalizedUserName", "UserName" }, values: new object[] { 1L, "ALI@B.COM", "Ali@b.com" }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "FilePath", table: "UserAttachments"); migrationBuilder.UpdateData( table: "AspNetUsers", keyColumn: "Id", keyValue: "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA", columns: new[] { "CompanyId", "NormalizedUserName", "UserName" }, values: new object[] { null, "ADMIN", "Admin" }); migrationBuilder.UpdateData( table: "AspNetUsers", keyColumn: "Id", keyValue: "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB", columns: new[] { "CompanyId", "NormalizedUserName", "UserName" }, values: new object[] { null, "ALI", "ali" }); } } }