irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20250806083458_AnswerCombin...

41 lines
1.3 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class AnswerCombination : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "AnswerCombination",
table: "ReadingQuestionTrial",
type: "nvarchar(max)",
nullable: false,
comment: "答案组合",
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400,
oldComment: "答案组合");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "AnswerCombination",
table: "ReadingQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
comment: "答案组合",
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldComment: "答案组合");
}
}
}