Compare commits

..

No commits in common. "a267bc13b4527666dba4ab442c6122ab03691b0d" and "7ee821aebde3daba32e5965aab723e9170bf92b6" have entirely different histories.

4 changed files with 2 additions and 19953 deletions

View File

@ -160,7 +160,6 @@ public class ReadingQuestionTrial : BaseAddAuditEntity
public string AnswerGroup { get; set; } = "[]";
[Comment("答案组合")]
[MaxLength]
public string AnswerCombination { get; set; } = "[]";
[Comment("裁判类型")]

View File

@ -1,40 +0,0 @@
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: "答案组合");
}
}
}

View File

@ -6199,7 +6199,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<string>("AnswerCombination")
.IsRequired()
.HasColumnType("nvarchar(max)")
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("答案组合");
b.Property<string>("AnswerGroup")