5 changed files with 15890 additions and 70 deletions
-
18src/Shentun.Peis.Domain/RegisterChecks/RegisterCheck.cs
-
4src/Shentun.Peis.EntityFrameworkCore/DbMapping/RegisterChecks/RegisterCheckDbMapping.cs
-
15729src/Shentun.Peis.EntityFrameworkCore/Migrations/20240921092415_update_register_check_pacs.Designer.cs
-
51src/Shentun.Peis.EntityFrameworkCore/Migrations/20240921092415_update_register_check_pacs.cs
-
156src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
15729
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240921092415_update_register_check_pacs.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,51 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class update_register_check_pacs : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_pacs_check", |
||||
|
table: "register_check", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "是否pacs检查 dicom上传为准"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "pacs_check_date", |
||||
|
table: "register_check", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
comment: "pacs dicom检查日期"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "pacs_upload_date", |
||||
|
table: "register_check", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
comment: "pacs dicom文件上传日期"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_pacs_check", |
||||
|
table: "register_check"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "pacs_check_date", |
||||
|
table: "register_check"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "pacs_upload_date", |
||||
|
table: "register_check"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue