三级安全教育卡 培训内容 字段长度 300 => 500
This commit is contained in:
parent
5f42374fb1
commit
eff9e35b6e
137966
APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs
generated
Normal file
137966
APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,35 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
namespace APT.Data.Migrations.Migrations
|
||||||
|
{
|
||||||
|
public partial class wyw2026031901 : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "NAME",
|
||||||
|
table: "T_SE_THREE_LEVEL_SAFE_CONTENT",
|
||||||
|
type: "nvarchar(500)",
|
||||||
|
maxLength: 500,
|
||||||
|
nullable: true,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "nvarchar(300)",
|
||||||
|
oldMaxLength: 300,
|
||||||
|
oldNullable: true);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "NAME",
|
||||||
|
table: "T_SE_THREE_LEVEL_SAFE_CONTENT",
|
||||||
|
type: "nvarchar(300)",
|
||||||
|
maxLength: 300,
|
||||||
|
nullable: true,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "nvarchar(500)",
|
||||||
|
oldMaxLength: 500,
|
||||||
|
oldNullable: true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -44538,8 +44538,8 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<string>("DealMeasuresStr")
|
b.Property<string>("DealMeasuresStr")
|
||||||
.HasMaxLength(500)
|
.HasMaxLength(2000)
|
||||||
.HasColumnType("nvarchar(500)");
|
.HasColumnType("nvarchar(2000)");
|
||||||
|
|
||||||
b.Property<int>("ENTITY_ORG_TPYE")
|
b.Property<int>("ENTITY_ORG_TPYE")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
@ -44602,12 +44602,12 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<string>("SafeConfirmsStr")
|
b.Property<string>("SafeConfirmsStr")
|
||||||
.HasMaxLength(500)
|
.HasMaxLength(2000)
|
||||||
.HasColumnType("nvarchar(500)");
|
.HasColumnType("nvarchar(2000)");
|
||||||
|
|
||||||
b.Property<string>("SafeMeasuresStr")
|
b.Property<string>("SafeMeasuresStr")
|
||||||
.HasMaxLength(500)
|
.HasMaxLength(2000)
|
||||||
.HasColumnType("nvarchar(500)");
|
.HasColumnType("nvarchar(2000)");
|
||||||
|
|
||||||
b.Property<int>("TASK_LEVEL")
|
b.Property<int>("TASK_LEVEL")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
@ -73805,8 +73805,8 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
b.Property<string>("NAME")
|
b.Property<string>("NAME")
|
||||||
.HasMaxLength(300)
|
.HasMaxLength(500)
|
||||||
.HasColumnType("nvarchar(300)");
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
b.Property<Guid?>("ORG_ID")
|
b.Property<Guid?>("ORG_ID")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
|
|||||||
@ -10968,7 +10968,7 @@ builder.HasOne(t => t.Nav_Post).WithMany().HasForeignKey(t => t.POST_ID).OnDelet
|
|||||||
public override void Configure(EntityTypeBuilder<T_SE_THREE_LEVEL_SAFE_CONTENT> builder)
|
public override void Configure(EntityTypeBuilder<T_SE_THREE_LEVEL_SAFE_CONTENT> builder)
|
||||||
{
|
{
|
||||||
base.Configure(builder);
|
base.Configure(builder);
|
||||||
builder.Property(t => t.NAME).HasMaxLength(300);
|
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||||
builder.HasIndex("NAME").IsUnique();
|
builder.HasIndex("NAME").IsUnique();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@ namespace APT.MS.Domain.Entities.SE
|
|||||||
/// 培训内容
|
/// 培训内容
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Description("培训内容")]
|
[Description("培训内容")]
|
||||||
[DataFieldLength(300)]
|
[DataFieldLength(500)]
|
||||||
[FormFieldTable]
|
[FormFieldTable]
|
||||||
[FormFieldQuery]
|
[FormFieldQuery]
|
||||||
[FormFieldEdit]
|
[FormFieldEdit]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user