非dicom 匿名图像 以及用户重置密码
This commit is contained in:
+22356
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,40 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class nonedicomMask : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsMasked",
|
||||
table: "NoneDicomStudyFile",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsNeedResetPwd",
|
||||
table: "IdentityUser",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsMasked",
|
||||
table: "NoneDicomStudyFile");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsNeedResetPwd",
|
||||
table: "IdentityUser");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3600,6 +3600,9 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasColumnType("bit")
|
||||
.HasComment("首次登录需要修改密码");
|
||||
|
||||
b.Property<bool>("IsNeedResetPwd")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsTestUser")
|
||||
.HasColumnType("bit");
|
||||
|
||||
@@ -4116,6 +4119,9 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
b.Property<bool>("IsDeleted")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsMasked")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsReading")
|
||||
.HasColumnType("bit");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user