mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
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.
6 lines
281 B
SQL
6 lines
281 B
SQL
DROP TABLE IF EXISTS invoice_events;
|
|
DROP INDEX IF EXISTS invoice_events_added_at_idx;
|
|
DROP INDEX IF EXISTS invoice_events_event_type_idx;
|
|
DROP INDEX IF EXISTS invoice_events_invoice_id_idx;
|
|
DROP INDEX IF EXISTS invoice_events_set_id_idx;
|
|
DROP TABLE IF EXISTS invoice_event_types;
|