lnd/sqldb/sqlc
Andras Banki-Horvath 323af946e0
sqldb+invoices: add migration to fix incorrectly stored invoice expiries
Previously, when using the native schema, invoice expiries were incorrectly
stored as 64-bit values (expiry in nanoseconds instead of seconds), causing
overflow issues. Since we cannot determine the original values, we will set
the expiries for existing invoices to 1 hour with this migration.
2024-07-09 08:39:57 +02:00
..
migrations sqldb+invoices: add migration to fix incorrectly stored invoice expiries 2024-07-09 08:39:57 +02:00
queries sqldb+invoices: fix ordering bug in FilterInvoices 2024-04-11 15:04:04 +02:00
amp_invoices.sql.go sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01: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+invoices: fix ordering bug in FilterInvoices 2024-04-11 15:04:04 +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: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00