Skip to content

Commit

Permalink
add a log line when migrations run successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Sep 25, 2024
1 parent 54f0ba3 commit 4a064bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub async fn main() -> anyhow::Result<()> {
let command = args.nth(1).unwrap();
if command == "migrate" {
Application::migrate_database(configuration).await?;
info!("database migrated successfullly");
} else {
let message = "invalid command line arguments";
error!("{message}");
Expand Down

0 comments on commit 4a064bb

Please sign in to comment.