using CvSearch.Data;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace CvSearch.Data.Migrations
{
    /// <inheritdoc />
    public partial class RemoveUseHeadlessBrowser : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "UseHeadlessBrowser",
                schema: MigrationConstants.SchemaName,
                table: "JobProviders");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<bool>(
                name: "UseHeadlessBrowser",
                schema: MigrationConstants.SchemaName,
                table: "JobProviders",
                type: "bit",
                nullable: false,
                defaultValue: false);
        }
    }
}
