3 changed files with 16177 additions and 0 deletions
-
16048src/Shentun.Peis.EntityFrameworkCore/Migrations/20241022102337_pacs_dicom_data.Designer.cs
-
45src/Shentun.Peis.EntityFrameworkCore/Migrations/20241022102337_pacs_dicom_data.cs
-
84src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
16048
src/Shentun.Peis.EntityFrameworkCore/Migrations/20241022102337_pacs_dicom_data.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,45 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class pacs_dicom_data : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.CreateTable( |
|||
name: "dicom_file_detail", |
|||
columns: table => new |
|||
{ |
|||
id = table.Column<Guid>(type: "uuid", nullable: false), |
|||
RegisterCheckId = table.Column<Guid>(type: "uuid", nullable: false, comment: "RegisterCheck表ID"), |
|||
instance_id = table.Column<Guid>(type: "uuid", nullable: false, comment: "实例ID"), |
|||
parent_patient_id = table.Column<Guid>(type: "uuid", nullable: false, comment: "患者ID"), |
|||
parent_series_id = table.Column<Guid>(type: "uuid", nullable: false, comment: "系列ID"), |
|||
parent_study_id = table.Column<Guid>(type: "uuid", nullable: false, comment: "研究ID"), |
|||
path = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: true, comment: "路径"), |
|||
file_name = table.Column<string>(type: "character varying(100)", maxLength: 100, nullable: true, comment: "文件名称"), |
|||
status = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: true, comment: "状态"), |
|||
display_order = table.Column<int>(type: "integer", nullable: false), |
|||
concurrency_stamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), |
|||
creation_time = table.Column<DateTime>(type: "timestamp without time zone", nullable: false), |
|||
creator_id = table.Column<Guid>(type: "uuid", nullable: false), |
|||
last_modification_time = table.Column<DateTime>(type: "timestamp without time zone", nullable: false), |
|||
last_modifier_id = table.Column<Guid>(type: "uuid", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_dicom_file_detail", x => x.id); |
|||
}, |
|||
comment: "dicom文件数据"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "dicom_file_detail"); |
|||
} |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue