lnd/sqldb/sqlc
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
..
migrations sqldb: ensure schema definitions are fully SQLite compatible 2025-01-23 09:11:02 +01:00
queries sqldb+invoices: Optimize invoice fetching when the reference is only a hash 2025-01-23 09:11:01 +01:00
amp_invoices.sql.go multi: add call to directly insert an AMP sub-invoice 2025-01-23 09:10:59 +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: ensure schema definitions are fully SQLite compatible 2025-01-23 09:11:02 +01:00
migration.sql.go sqldb: add table to track custom SQL migrations 2025-01-23 09:10:59 +01:00
models.go sqldb: ensure schema definitions are fully SQLite compatible 2025-01-23 09:11:02 +01:00
querier.go sqldb+invoices: Optimize invoice fetching when the reference is only a hash 2025-01-23 09:11:01 +01:00