using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional

namespace PARR.DAL.Migrations
{
    /// <inheritdoc />
    public partial class TbslSettingsUpd : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "Settings",
                columns: new[] { "Name", "Description", "Value" },
                values: new object[,]
                {
                    { "RobotAttemptsNumber", "Количество попыток выполнения задания роботом", "3" },
                    { "RobotWaitTime", "Время ожидания выполнения роботом задания", "00:15:00" }
                });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Settings",
                keyColumn: "Name",
                keyValue: "RobotAttemptsNumber");

            migrationBuilder.DeleteData(
                table: "Settings",
                keyColumn: "Name",
                keyValue: "RobotWaitTime");
        }
    }
}
