mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-24 16:34:35 +01:00
Refactor: Add GetMonitoredInvoices to fetch pending invoices or those with pending payments (#6235)
This commit is contained in:
@@ -5,5 +5,5 @@ $$ LANGUAGE sql IMMUTABLE;
|
||||
|
||||
CREATE INDEX "IX_Invoices_Pending" ON "Invoices"((1)) WHERE is_pending("Status");
|
||||
CREATE INDEX "IX_Payments_Pending" ON "Payments"((1)) WHERE is_pending("Status");
|
||||
|
||||
DROP TABLE "PendingInvoices";
|
||||
ANALYZE "Invoices";
|
||||
|
||||
Reference in New Issue
Block a user