using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace AsbCloudDb.Migrations
{
    public partial class Enable_nullable_on_daylyReport : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "info",
                table: "t_daily_report",
                type: "jsonb",
                nullable: false,
                defaultValue: "{}",
                comment: "Список параметров для отчёта",
                oldClrType: typeof(string),
                oldType: "jsonb",
                oldNullable: true,
                oldComment: "Список параметров для отчёта");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "info",
                table: "t_daily_report",
                type: "jsonb",
                nullable: true,
                comment: "Список параметров для отчёта",
                oldClrType: typeof(string),
                oldType: "jsonb",
                oldComment: "Список параметров для отчёта");
        }
    }
}