mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-18 13:07:58 +02:00
In this commit we updated the IsPublicV1Node query to use UNION instead of OR, since sqlite struggles to efficiently use multiple indexes in a single query involving OR conditions across different columns. We use UNION ALL since the query doesn't care about duplicates. |
||
|---|---|---|
| .. | ||
| amp_invoices.sql | ||
| graph.sql | ||
| invoice_events.sql | ||
| invoices.sql | ||
| migration.sql | ||