using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations.LeaveDb { /// public partial class AddProfileInfotoLeaveBegining : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "FirstName", table: "LeaveBeginnings", type: "longtext", nullable: true) .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "LastName", table: "LeaveBeginnings", type: "longtext", nullable: true) .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "Prefix", table: "LeaveBeginnings", type: "longtext", nullable: true) .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "FirstName", table: "LeaveBeginnings"); migrationBuilder.DropColumn( name: "LastName", table: "LeaveBeginnings"); migrationBuilder.DropColumn( name: "Prefix", table: "LeaveBeginnings"); } } }