Skip to content

Commit f811805

Browse files
committed
docs: update sql migration guide
1 parent 2047348 commit f811805

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/db_migration_guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ This will mitigate the poor Postgres performance on kvdb.
127127

128128
This stage unlocks true SQL performance by restructuring data into relational tables. Migration is **per-subsystem** and **incremental**.
129129

130+
The migration steps are automatically applied when LND is restarted after step 1 was successfully completed and the config value db.use-native-sql=true is set.
131+
You will see log lines from the `SQLD` subsystem about the migration, such as `Starting migration of invoices from KV to SQL`.
132+
130133
### Subsystem Readiness
131134

132135
| Subsystem | Relational Backend | Migration Script | Status |

0 commit comments

Comments
 (0)