From 04955e14c63aca479b69dd8a40b4f9f0af0b016b Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Thu, 4 Jul 2024 15:08:32 +0200 Subject: [PATCH] move migration to run_args --- ffplayout/src/main.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ffplayout/src/main.rs b/ffplayout/src/main.rs index 1cec61ec..20db55e3 100644 --- a/ffplayout/src/main.rs +++ b/ffplayout/src/main.rs @@ -81,12 +81,6 @@ async fn main() -> std::io::Result<()> { .await .map_err(|e| io::Error::new(io::ErrorKind::Other, e.to_string()))?; - if ARGS.dump_advanced.is_none() && ARGS.dump_config.is_none() { - if let Err(e) = handles::db_migrate(&pool).await { - panic!("{e}"); - }; - } - if let Err(c) = run_args(&pool).await { exit(c); }