lnd: run invoice migration on startup

This commit runs the invoice migration if the user has a KV SQL backend
configured.
This commit is contained in:
Andras Banki-Horvath
2024-09-17 15:18:12 +02:00
parent 94e2724a34
commit 8d20e2a23b
5 changed files with 71 additions and 41 deletions

View File

@@ -1472,6 +1472,9 @@
; own risk.
; db.use-native-sql=false
; If set to true, native SQL invoice migration will be skipped. Note that this
; option is intended for users who experience non-resolvable migration errors.
; db.skip-sql-invoice-migration=false
[etcd]