using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class updatetableprofileaddnameoc : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "AgencyName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "AgencyName") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "CLevel", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "CLevel") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "OrgName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "OrgName") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "PosNoName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "PosNoName") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "PositionExecutiveName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "PositionExecutiveName") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "PositionLineName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "PositionLineName") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "PositionName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "PositionName") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "PositionPathSideName", table: "ProfileSalaries", type: "longtext", nullable: true, comment: "PositionPathSideName") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "AgencyName", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "CLevel", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "OrgName", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "PosNoName", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "PositionExecutiveName", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "PositionLineName", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "PositionName", table: "ProfileSalaries"); migrationBuilder.DropColumn( name: "PositionPathSideName", table: "ProfileSalaries"); } } }