31 lines
850 B
C#
31 lines
850 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class addAEModality : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IsSupportMutiModality",
|
|
table: "DicomAE",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false,
|
|
comment: "是否支持多模态查询");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IsSupportMutiModality",
|
|
table: "DicomAE");
|
|
}
|
|
}
|
|
}
|