mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-08 13:35:00 +00:00
Modify rustfmt file
This commit is contained in:
parent
93c881a7a9
commit
3ab90259f2
30 changed files with 169 additions and 395 deletions
|
@ -314,9 +314,7 @@ mod sqlite_migrations {
|
|||
|
||||
// Turn on WAL in SQLite
|
||||
if crate::CONFIG.enable_db_wal() {
|
||||
diesel::sql_query("PRAGMA journal_mode=wal")
|
||||
.execute(&connection)
|
||||
.expect("Failed to turn on WAL");
|
||||
diesel::sql_query("PRAGMA journal_mode=wal").execute(&connection).expect("Failed to turn on WAL");
|
||||
}
|
||||
|
||||
embedded_migrations::run_with_output(&connection, &mut std::io::stdout())?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue