using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace PARR.DAL.Migrations
{
    /// <inheritdoc />
    public partial class tblJobGroupAddUnitFieldIdRename : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "UnitFieldId",
                schema: "job",
                table: "Groups",
                newName: "GroupingUnitFieldId");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "GroupingUnitFieldId",
                schema: "job",
                table: "Groups",
                newName: "UnitFieldId");
        }
    }
}
