Add log line
This commit is contained in:
parent
4200d11a0c
commit
dce1ebebbc
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ impl Database {
|
||||||
|
|
||||||
let mut connection_pools = std::collections::HashMap::new();
|
let mut connection_pools = std::collections::HashMap::new();
|
||||||
|
|
||||||
|
info!("Applying pending database migrations");
|
||||||
let mut entries = tokio::fs::read_dir(&config.databases_directory_path).await?;
|
let mut entries = tokio::fs::read_dir(&config.databases_directory_path).await?;
|
||||||
while let Some(entry) = entries.next_entry().await? {
|
while let Some(entry) = entries.next_entry().await? {
|
||||||
if !entry.file_name().to_string_lossy().ends_with(".sqlite") {
|
if !entry.file_name().to_string_lossy().ends_with(".sqlite") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue