+22027
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,30 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class circleRadius : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "CircleRadius",
|
||||
table: "ReadingQuestionCriterionTrial",
|
||||
type: "decimal(18,2)",
|
||||
precision: 18,
|
||||
scale: 2,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CircleRadius",
|
||||
table: "ReadingQuestionCriterionTrial");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6582,6 +6582,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasColumnType("int")
|
||||
.HasComment("仲裁对象");
|
||||
|
||||
b.Property<decimal?>("CircleRadius")
|
||||
.HasPrecision(18, 2)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.Property<DateTime>("CreateTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
@@ -6606,6 +6610,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasColumnType("int")
|
||||
.HasComment("标准类型");
|
||||
|
||||
b.Property<string>("DefaultSegmentName")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
@@ -18545,35 +18553,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.OwnsOne("IRaCIS.Core.Domain.Models.DefaultSegmentNameDto", "DefaultSegmentName", b1 =>
|
||||
{
|
||||
b1.Property<Guid>("ReadingQuestionCriterionTrialId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b1.Property<string>("SegmentNameList")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b1.Property<string>("SegmentationName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b1.HasKey("ReadingQuestionCriterionTrialId");
|
||||
|
||||
b1.ToTable("ReadingQuestionCriterionTrial");
|
||||
|
||||
b1.ToJson("DefaultSegmentName");
|
||||
|
||||
b1.WithOwner()
|
||||
.HasForeignKey("ReadingQuestionCriterionTrialId");
|
||||
});
|
||||
|
||||
b.Navigation("CreateUserRole");
|
||||
|
||||
b.Navigation("DefaultSegmentName")
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Trial");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user