using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace AsbCloudDb.Migrations
{
    public partial class UpdateTable_t_faq_Nullable_Answer : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "answer",
                table: "t_faq",
                type: "text",
                nullable: true,
                comment: "Текст ответа",
                oldClrType: typeof(string),
                oldType: "text",
                oldComment: "Текст ответа");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "answer",
                table: "t_faq",
                type: "text",
                nullable: false,
                defaultValue: "",
                comment: "Текст ответа",
                oldClrType: typeof(string),
                oldType: "text",
                oldNullable: true,
                oldComment: "Текст ответа");
        }
    }
}