lndcfg: add Graph to UseNativeSQL description
What changed, and why it matters
This commit is a one-word documentation update. It adds 'Graph' to the list of subsystems that support native SQL tables in the description of a configuration option. There is no code behavior change, no bug fix, and no security relevance.
No action required. This is a non-security documentation-only change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change modifies the description struct tag for the UseNativeSQL field in lncfg/db.go, expanding the documented subsystem list from ‘Invoices’ to ‘Invoices, Graph.’ No functional code, logic, defaults, or migrations were altered.
Changed components
lncfg/db.goInspect captured patch +1 / −1
diff --git a/lncfg/db.go b/lncfg/db.go
index 0f55c73..9eb0278 100644
--- a/lncfg/db.go
+++ b/lncfg/db.go
@@ -86,7 +86,7 @@ type DB struct {
Sqlite *sqldb.SqliteConfig `group:"sqlite" namespace:"sqlite" description:"Sqlite settings."`
- UseNativeSQL bool `long:"use-native-sql" description:"If set to true, native SQL will be used instead of KV emulation for tables that support it. Subsystems which support native SQL tables: Invoices."`
+ UseNativeSQL bool `long:"use-native-sql" description:"If set to true, native SQL will be used instead of KV emulation for tables that support it. Subsystems which support native SQL tables: Invoices, Graph."`
SkipNativeSQLMigration bool `long:"skip-native-sql-migration" description:"If set to true, the KV to native SQL migration will be skipped. Note that this option is intended for users who experience non-resolvable migration errors. Enabling after there is a non-resolvable migration error that resulted in an incomplete migration will cause that partial migration to be abandoned and ignored and an empty database will be used instead. Since invoices are currently the only native SQL database used, our channels will still work but the invoice history will be forgotten. This option has no effect if native SQL is not in use (db.use-native-sql=false)."`
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.