[#wallet-CWallet-MigrateToSQLite] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::MigrateToSQLite :relfileprefix: ../../ :mrdocs: Move all records from the BDB database to a new SQLite database for storage. The original BDB file will be deleted and replaced with a new SQLite file. A backup is not created. May crash if something unexpected happens in the filesystem. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff3720f1c48), requires_capability(0x7ff365f21c48), requires_capability(0x7ff35de605f8), requires_capability(0x7ff35efe50d8), requires_capability(0x7ff366fd16b8)]] bool MigrateToSQLite(xref:bilingual_str.adoc[bilingual_str]& error); ---- == Return Value true if the database was migrated to SQLite. == Parameters [cols="1,4"] |=== | Name| Description | *error* | Set to an error message on failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#