From 4a064bb07b645c2dabae9b650d66c00012855909 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Wed, 25 Sep 2024 14:25:01 +0530 Subject: [PATCH] add a log line when migrations run successfully --- api/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/main.rs b/api/src/main.rs index 7ce030c..2394232 100644 --- a/api/src/main.rs +++ b/api/src/main.rs @@ -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}");