Skip to content

Commit

Permalink
fix migration
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth committed Jan 18, 2024
1 parent 150ef94 commit f379fe7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ public partial class ApplicationEntityTweek : Migration
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "idx_source_all1",
name: "idx_source_all_hl7",
table: "HL7DestinationEntities");

Check warning on line 13 in src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs

View check run for this annotation

Codecov / codecov/patch

src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs#L11-L13

Added lines #L11 - L13 were not covered by tests

migrationBuilder.DropColumn(
name: "AeTitle",
table: "HL7DestinationEntities");

Check warning on line 17 in src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs

View check run for this annotation

Codecov / codecov/patch

src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs#L15-L17

Added lines #L15 - L17 were not covered by tests

migrationBuilder.CreateIndex(
name: "idx_source_all1",
name: "idx_source_all_hl7",
table: "HL7DestinationEntities",
columns: new[] { "Name", "HostIp", "Port" },
unique: true);
Expand All @@ -26,7 +26,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "idx_source_all1",
name: "idx_source_all_hl7",
table: "HL7DestinationEntities");

Check warning on line 30 in src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs

View check run for this annotation

Codecov / codecov/patch

src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs#L28-L30

Added lines #L28 - L30 were not covered by tests

migrationBuilder.AddColumn<string>(
Expand All @@ -37,7 +37,7 @@ protected override void Down(MigrationBuilder migrationBuilder)
defaultValue: "");

Check warning on line 37 in src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs

View check run for this annotation

Codecov / codecov/patch

src/Database/EntityFramework/Migrations/20240112151448_ApplicationEntityTweek.cs#L32-L37

Added lines #L32 - L37 were not covered by tests

migrationBuilder.CreateIndex(
name: "idx_source_all1",
name: "idx_source_all_hl7",
table: "HL7DestinationEntities",
columns: new[] { "Name", "AeTitle", "HostIp", "Port" },
unique: true);
Expand Down

0 comments on commit f379fe7

Please sign in to comment.