no migration when config dump is selected
This commit is contained in:
parent
c8f1b63a9b
commit
1ef2f76b6c
@ -81,9 +81,11 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user