using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace PARR.DAL.Migrations
{
    /// <inheritdoc />
    public partial class tblJobGroupAddUserTimeZoneOffsetMinutes : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "UserTimeZoneOffsetMinutes",
                schema: "job",
                table: "Groups",
                type: "integer",
                nullable: true,
                comment: "Смещение часового пояса пользователя в минутах относительно UTC на момент ReferenceDate");
        }

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