@@ -9,11 +9,6 @@ public partial class Hl7DEstinationAndConfig : Migration
9
9
{
10
10
protected override void Up ( MigrationBuilder migrationBuilder )
11
11
{
12
- migrationBuilder . RenameIndex (
13
- name : "idx_source_all1" ,
14
- table : "SourceApplicationEntities" ,
15
- newName : "idx_source_all2" ) ;
16
-
17
12
migrationBuilder . CreateTable (
18
13
name : "Hl7ApplicationConfig" ,
19
14
columns : table => new
@@ -61,7 +56,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
61
56
unique : true ) ;
62
57
63
58
migrationBuilder . CreateIndex (
64
- name : "idx_source_all1 " ,
59
+ name : "idx_source_all_HL7Destination " ,
65
60
table : "HL7DestinationEntities" ,
66
61
columns : new [ ] { "Name" , "AeTitle" , "HostIp" , "Port" } ,
67
62
unique : true ) ;
@@ -75,10 +70,9 @@ protected override void Down(MigrationBuilder migrationBuilder)
75
70
migrationBuilder . DropTable (
76
71
name : "HL7DestinationEntities" ) ;
77
72
78
- migrationBuilder . RenameIndex (
79
- name : "idx_source_all2" ,
80
- table : "SourceApplicationEntities" ,
81
- newName : "idx_source_all1" ) ;
73
+ migrationBuilder . DropIndex (
74
+ name : "idx_source_all_HL7Destination" ,
75
+ table : "HL7DestinationEntities" ) ;
82
76
}
83
77
}
84
78
}
0 commit comments