113 lines
3.8 KiB
C#
113 lines
3.8 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class siteSurveyOther : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "AssignFixedTechnologists",
|
|
table: "TrialSiteSurvey",
|
|
type: "bit",
|
|
nullable: true,
|
|
comment: "保持 1-2 名固定技师");
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "ISStrictManualBurnFlag",
|
|
table: "TrialSiteSurvey",
|
|
type: "bit",
|
|
nullable: true,
|
|
comment: "是否严格按照影像手册参数完成刻盘");
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IsAuthorizeRadiologistsParticipate",
|
|
table: "TrialSiteSurvey",
|
|
type: "bit",
|
|
nullable: true,
|
|
comment: "是否授权影像科老师参与");
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IsRoutineMRIPDEE",
|
|
table: "TrialSiteSurvey",
|
|
type: "bit",
|
|
nullable: true,
|
|
comment: "MRI-PDEE 是否为本中心该适应症的常规诊疗检查项目");
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "MRIPDFFLeadTime",
|
|
table: "TrialSiteSurvey",
|
|
type: "nvarchar(400)",
|
|
maxLength: 400,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "MRI-PDFF 预约等待时长");
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "MRIPDFFOther",
|
|
table: "TrialSiteSurvey",
|
|
type: "nvarchar(400)",
|
|
maxLength: 400,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "MRI-PDEE 其他");
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "MRIPDFFScanTime",
|
|
table: "TrialSiteSurvey",
|
|
type: "nvarchar(400)",
|
|
maxLength: 400,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "MRI-PDFF 单次检查时长");
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "NotStrictManualBurnFlagReason",
|
|
table: "TrialSiteSurvey",
|
|
type: "bit",
|
|
nullable: true,
|
|
comment: "不严格按照影像手册参数完成刻盘原因");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "AssignFixedTechnologists",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ISStrictManualBurnFlag",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "IsAuthorizeRadiologistsParticipate",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "IsRoutineMRIPDEE",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "MRIPDFFLeadTime",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "MRIPDFFOther",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "MRIPDFFScanTime",
|
|
table: "TrialSiteSurvey");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "NotStrictManualBurnFlagReason",
|
|
table: "TrialSiteSurvey");
|
|
}
|
|
}
|
|
}
|