lnd/sqldb/sqlc/migrations
Andras Banki-Horvath 84598b6dc1
sqldb: ensure schema definitions are fully SQLite compatible
Previously, we applied replacements to our schema definitions
to make them compatible with both SQLite and Postgres backends,
as the files were not fully compatible with either.

With this change, the only replacement required for SQLite has
been moved to the generator script. This adjustment ensures
compatibility by enabling auto-incrementing primary keys that
are treated as 64-bit integers by sqlc.
2025-01-23 09:11:02 +01:00
..
000001_invoices.down.sql sqldb: add invoices SQL schema 2023-07-10 17:53:26 -07:00
000001_invoices.up.sql sqldb: ensure schema definitions are fully SQLite compatible 2025-01-23 09:11:02 +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: ensure schema definitions are fully SQLite compatible 2025-01-23 09:11:02 +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