forgot an else in a migration
This commit is contained in:
parent
068e943fd3
commit
4635d85ff8
@ -77,6 +77,8 @@ PRAGMA foreign_keys = 1;
|
|||||||
", true);
|
", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
migrationBuilder.DropForeignKey(
|
migrationBuilder.DropForeignKey(
|
||||||
name: "FK_EFHitLocationCounts_EFClients_EFClientStatistics_ClientId",
|
name: "FK_EFHitLocationCounts_EFClients_EFClientStatistics_ClientId",
|
||||||
table: "EFHitLocationCounts");
|
table: "EFHitLocationCounts");
|
||||||
@ -133,6 +135,7 @@ PRAGMA foreign_keys = 1;
|
|||||||
principalColumns: new[] { "ClientId", "ServerId" },
|
principalColumns: new[] { "ClientId", "ServerId" },
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user