+22600
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,54 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class addClientInfo : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Browser",
|
||||
table: "DataInspection",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "DeviceType",
|
||||
table: "DataInspection",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OS",
|
||||
table: "DataInspection",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Browser",
|
||||
table: "DataInspection");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DeviceType",
|
||||
table: "DataInspection");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OS",
|
||||
table: "DataInspection");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -979,6 +979,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasComment("批次Id");
|
||||
|
||||
b.Property<string>("Browser")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<Guid?>("ChildrenTypeId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasComment("子类");
|
||||
@@ -1000,6 +1005,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("DeviceType")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<Guid?>("DoctorUserId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasComment("阅片医生");
|
||||
@@ -1042,6 +1052,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
b.Property<Guid?>("ModuleTypeId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("OS")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<Guid?>("ObjectRelationParentId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasComment("被稽查对象外键1");
|
||||
@@ -7480,7 +7495,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
b.Property<Guid>("Id")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.PrimitiveCollection<string>("AnswerCombination")
|
||||
b.Property<string>("AnswerCombination")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)")
|
||||
.HasComment("答案组合");
|
||||
@@ -21236,7 +21251,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.Subject", "Subject")
|
||||
.WithMany()
|
||||
.WithMany("TrialImageDownloadList")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
@@ -22323,6 +22338,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
b.Navigation("SubjectVisitTaskList");
|
||||
|
||||
b.Navigation("TaskStudyList");
|
||||
|
||||
b.Navigation("TrialImageDownloadList");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.SubjectUser", b =>
|
||||
|
||||
Reference in New Issue
Block a user