修改字段类型
This commit is contained in:
+22331
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
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: "不严格按照影像手册参数完成刻盘原因");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15208,8 +15208,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<bool?>("NotStrictManualBurnFlagReason")
|
||||
.HasColumnType("bit")
|
||||
b.Property<string>("NotStrictManualBurnFlagReason")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("不严格按照影像手册参数完成刻盘原因");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
|
||||
Reference in New Issue
Block a user