using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BethanysPieShopHRM.Api.Migrations
{
///
public partial class addingImageName : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "ImageName",
table: "Employees",
type: "TEXT",
nullable: true);
migrationBuilder.UpdateData(
table: "Employees",
keyColumn: "EmployeeId",
keyValue: 1,
column: "ImageName",
value: null);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ImageName",
table: "Employees");
}
}
}