forgot an else in a migration

This commit is contained in:
RaidMax 2019-10-07 10:43:44 -05:00
parent 068e943fd3
commit 4635d85ff8

View File

@ -77,6 +77,8 @@ PRAGMA foreign_keys = 1;
", true);
}
else
{
migrationBuilder.DropForeignKey(
name: "FK_EFHitLocationCounts_EFClients_EFClientStatistics_ClientId",
table: "EFHitLocationCounts");
@ -133,6 +135,7 @@ PRAGMA foreign_keys = 1;
principalColumns: new[] { "ClientId", "ServerId" },
onDelete: ReferentialAction.Cascade);
}
}
protected override void Down(MigrationBuilder migrationBuilder)
{