Skip to content

Commit

Permalink
Log when we run migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Mar 28, 2024
1 parent fe58212 commit 0d5324d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ async fn main() -> anyhow::Result<()> {
.expect("Could not build connection pool");

// run migrations
info!("Running migrations");
let mut connection = db_pool.get()?;
connection
.run_pending_migrations(MIGRATIONS)
Expand Down

0 comments on commit 0d5324d

Please sign in to comment.