irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20260421023504_addImageMask.cs

31 lines
832 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class addImageMask : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsMasked",
table: "DicomInstance",
type: "bit",
nullable: false,
defaultValue: false,
comment: "是否已经影像遮盖");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsMasked",
table: "DicomInstance");
}
}
}