Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 04c2215

Browse files
author
Tobin C. Harding
committed
db: Add log message when creating new database
1 parent beb0343 commit 04c2215

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cnd/src/db/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ impl Sqlite {
4848
let connection = SqliteConnection::establish(&format!("file:{}", path.display()))?;
4949
embedded_migrations::run(&connection)?;
5050

51+
log::info!("SQLite database file: {}", path.display());
52+
5153
Ok(Sqlite {
5254
connection: Arc::new(async_std::sync::Mutex::new(connection)),
5355
})

0 commit comments

Comments
 (0)