using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations.LeaveDb { /// public partial class AddApproverField : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IsAct", table: "LeaveRequestApprovers", type: "tinyint(1)", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "KeyId", table: "LeaveRequestApprovers", type: "longtext", nullable: false) .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsAct", table: "LeaveRequestApprovers"); migrationBuilder.DropColumn( name: "KeyId", table: "LeaveRequestApprovers"); } } }