lnd/sqldb/sqlc
Andras Banki-Horvath 06d4267a76
sqldb: fix end date filter when querying invoices
Previously, the SQL implementation of the invoice query simply
converted the start and end timestamps to time and used them
in SQL queries to check for inclusivity. However, this logic
failed when the start and end timestamps were equal.

This commit addresses and corrects this issue.
2024-09-03 19:40:47 +02:00
..
migrations sqldb+invoices: add migration to fix incorrectly stored invoice expiries 2024-07-09 08:39:57 +02:00
queries sqldb: fix end date filter when querying invoices 2024-09-03 19:40:47 +02:00
amp_invoices.sql.go invoices/sqldb: query by ChanID when updating AMP invoice preimage 2024-09-03 19:40:45 +02:00
db.go tools: update sqlc version to v1.25.0 2024-03-01 10:08:07 +01:00
invoice_events.sql.go sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
invoices.sql.go sqldb: fix end date filter when querying invoices 2024-09-03 19:40:47 +02:00
models.go sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
querier.go sqldb+invoices: synchronize SQL invoice updater behavior with KV version 2024-09-03 19:40:46 +02:00