using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
    /// 
    public partial class tableDefaultValue : Migration
    {
        /// 
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn(
                name: "DefaultValue",
                table: "ReadingTableQuestionTrial",
                type: "nvarchar(400)",
                maxLength: 400,
                nullable: false,
                defaultValue: "",
                comment: "默认值");
            migrationBuilder.AddColumn(
                name: "DefaultValue",
                table: "ReadingTableQuestionSystem",
                type: "nvarchar(400)",
                maxLength: 400,
                nullable: false,
                defaultValue: "",
                comment: "默认值");
        }
        /// 
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "DefaultValue",
                table: "ReadingTableQuestionTrial");
            migrationBuilder.DropColumn(
                name: "DefaultValue",
                table: "ReadingTableQuestionSystem");
        }
    }
}