lnd/sqldb/sqlc/migrations
Andras Banki-Horvath 6a360fb2e2
sqldb: simplify and fixup the existing invoice store schema and queries
This commit attempts to fix some issues with the invoice store's schema that we
couldn't foresee before the implementation was finished. This is safe as the
schema has not been instantiated yet outside of unit tests. Furthermore the
commit updates invoice store SQL queries according to fixes in the schema as
well as to prepare the higher level implementation in the upcoming commits.
2024-03-01 10:08:07 +01:00
..
000001_invoices.down.sql sqldb: add invoices SQL schema 2023-07-10 17:53:26 -07:00
000001_invoices.up.sql sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +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: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00