lnd/sqldb/sqlc/migrations
ziggie ea9fb80eff
sqldb: use the new schema
We put this new schema update into the main line and change the
versions of the schema updates which are currently only available
in dev builds. The schemas need to be chronological therefore we
also need to rename the file numbers.
2025-08-14 11:59:09 +02: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