Fix performance issues on query over orderId (fix #2114)

This commit is contained in:
nicolas.dorier
2020-12-08 14:43:39 +09:00
parent 4c62c5dc22
commit 76e46d2fa7
3 changed files with 29 additions and 0 deletions

View File

@@ -228,6 +228,8 @@ namespace BTCPayServer.Migrations
b.HasKey("Id");
b.HasIndex("OrderId");
b.HasIndex("StoreDataId");
b.HasIndex("Id", "CurrentRefundId");