43 lines
1.5 KiB
C#
43 lines
1.5 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class siteSurveyOther1 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "NotStrictManualBurnFlagReason",
|
|
table: "TrialSiteSurvey",
|
|
type: "nvarchar(400)",
|
|
maxLength: 400,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "不严格按照影像手册参数完成刻盘原因",
|
|
oldClrType: typeof(bool),
|
|
oldType: "bit",
|
|
oldNullable: true,
|
|
oldComment: "不严格按照影像手册参数完成刻盘原因");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<bool>(
|
|
name: "NotStrictManualBurnFlagReason",
|
|
table: "TrialSiteSurvey",
|
|
type: "bit",
|
|
nullable: true,
|
|
comment: "不严格按照影像手册参数完成刻盘原因",
|
|
oldClrType: typeof(string),
|
|
oldType: "nvarchar(400)",
|
|
oldMaxLength: 400,
|
|
oldComment: "不严格按照影像手册参数完成刻盘原因");
|
|
}
|
|
}
|
|
}
|