using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
namespace MTWorkHR.Infrastructure.Migrations
{
///
public partial class addStatusConfig : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "UserTaskStatuses",
columns: new[] { "Id", "NameAr", "NameEn" },
values: new object[,]
{
{ 1L, "جديدة", "New" },
{ 2L, "قيد العمل", "Under progress" },
{ 3L, "أغلقت", "Closed" },
{ 4L, "تمت", "Completed" },
{ 5L, "مؤجلة", "Delayed" }
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "UserTaskStatuses",
keyColumn: "Id",
keyValue: 1L);
migrationBuilder.DeleteData(
table: "UserTaskStatuses",
keyColumn: "Id",
keyValue: 2L);
migrationBuilder.DeleteData(
table: "UserTaskStatuses",
keyColumn: "Id",
keyValue: 3L);
migrationBuilder.DeleteData(
table: "UserTaskStatuses",
keyColumn: "Id",
keyValue: 4L);
migrationBuilder.DeleteData(
table: "UserTaskStatuses",
keyColumn: "Id",
keyValue: 5L);
}
}
}