feat(sqlite): support SQLCipher encrypted databases
This commit is contained in:
1 parent
92ef1ac3cf
commit
e84fb12fcc
6 files changed
+139
-9
No files matched your search
@@ -973,7 +973,12 @@ impl AppState {
|
||||
})
|
||||
.collect();
|
||||
PoolKind::Sqlite(
|
||||
db::sqlite::connect_path_with_extensions(&expand_tilde(&db_config.host), extensions).await?,
|
||||
db::sqlite::connect_path_with_cipher_key_and_extensions(
|
||||
&expand_tilde(&db_config.host),
|
||||
&db_config.password,
|
||||
extensions,
|
||||
)
|
||||
.await?,
|
||||
)
|
||||
}
|
||||
DatabaseType::Rqlite => {
|
||||
|
||||
Reference in new issue
Block a user