wxd 1 year ago
parent
commit
1c77723e8e
  1. 15728
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924080708_update_register_check_default.Designer.cs
  2. 41
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924080708_update_register_check_default.cs
  3. 5
      src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

15728
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924080708_update_register_check_default.Designer.cs
File diff suppressed because it is too large
View File

41
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924080708_update_register_check_default.cs

@ -0,0 +1,41 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_register_check_default : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<char>(
name: "is_critical_value",
table: "register_check",
type: "character(1)",
maxLength: 1,
nullable: true,
oldClrType: typeof(char),
oldType: "character(1)",
oldMaxLength: 1,
oldNullable: true,
oldDefaultValueSql: "0",
oldComment: "危急值标志");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<char>(
name: "is_critical_value",
table: "register_check",
type: "character(1)",
maxLength: 1,
nullable: true,
defaultValueSql: "0",
comment: "危急值标志",
oldClrType: typeof(char),
oldType: "character(1)",
oldMaxLength: 1,
oldNullable: true);
}
}
}

5
src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

@ -8630,12 +8630,9 @@ namespace Shentun.Peis.Migrations
.HasComment("是审核");
b.Property<char?>("IsCriticalValue")
.ValueGeneratedOnAdd()
.HasMaxLength(1)
.HasColumnType("character(1)")
.HasColumnName("is_critical_value")
.HasDefaultValueSql("0")
.HasComment("危急值标志");
.HasColumnName("is_critical_value");
b.Property<char?>("IsCriticalValueAudit")
.HasMaxLength(1)

Loading…
Cancel
Save