lnd/sqldb/sqlc/migrations
ziggie 27071acb6b
sqldb: Change payment_intent relationship to payment table
Previously a one(intent)-to-many(payment) relationship it is now
changed to a one-to-one relationship because a payment request
only can have 1 payment related to it. Looking into the future
with BOLT12 offers, the fetched invoice from the offer could be
stored here as well and the relationship would still hold.
2026-02-25 08:02:08 +01:00
..
000001_invoices.down.sql sqldb: delete wrong index names and add missing one 2025-08-14 08:17:15 +02:00
000001_invoices.up.sql sqldb: make migration 1 and 3 idempotent 2025-03-28 11:00:56 +01:00
000002_amp_invoices.down.sql sqldb: add AMP invoices SQL schema 2023-07-10 17:53:56 -07:00
000002_amp_invoices.up.sql sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
000003_invoice_events.down.sql sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
000003_invoice_events.up.sql sqldb: make migration 1 and 3 idempotent 2025-03-28 11:00:56 +01:00
000004_invoice_expiry_fix.down.sql sqldb+invoices: add migration to fix incorrectly stored invoice expiries 2024-07-09 08:39:57 +02:00
000004_invoice_expiry_fix.up.sql sqldb+invoices: add migration to fix incorrectly stored invoice expiries 2024-07-09 08:39:57 +02:00
000005_migration_tracker.down.sql sqldb: add table to track custom SQL migrations 2025-01-23 09:10:59 +01:00
000005_migration_tracker.up.sql sqldb: add table to track custom SQL migrations 2025-01-23 09:10:59 +01:00
000006_invoice_migration.down.sql sqldb: add a temporary index to store KV invoice hash to ID mapping 2025-01-23 09:11:00 +01:00
000006_invoice_migration.up.sql sqldb: add a temporary index to store KV invoice hash to ID mapping 2025-01-23 09:11:00 +01:00
000007_invoice_add_settled_index.down.sql sqldb: use the new schema 2025-08-14 11:59:09 +02:00
000007_invoice_add_settled_index.up.sql sqldb: use the new schema 2025-08-14 11:59:09 +02:00
000008_graph.down.sql sqldb: use the new schema 2025-08-14 11:59:09 +02:00
000008_graph.up.sql sqldb: use the new schema 2025-08-14 11:59:09 +02:00
000009_graph_v2.down.sql sqldb: add new gossip v2 columns to graph tables 2026-02-13 07:21:20 +02:00
000009_graph_v2.up.sql sqldb: add new gossip v2 columns to graph tables 2026-02-13 07:21:20 +02:00
000009_payments.down.sql sqldb: add payment sql tables 2026-02-25 08:01:15 +01:00
000009_payments.up.sql sqldb: Change payment_intent relationship to payment table 2026-02-25 08:02:08 +01:00