using AsbCloudDb.Model;
using Microsoft.EntityFrameworkCore.Migrations;

namespace AsbCloudDb.Migrations
{
    public partial class Add_Telemetry_TimeZone : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<SimpleTimezone>(
                name: "timezone",
                table: "t_telemetry",
                type: "jsonb",
                nullable: true,
                comment: "Смещение часового пояса от UTC");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "timezone",
                table: "t_telemetry");
        }
    }
}