diff --git a/sea-orm-migration/src/cli.rs b/sea-orm-migration/src/cli.rs index 435a53a6..90031deb 100644 --- a/sea-orm-migration/src/cli.rs +++ b/sea-orm-migration/src/cli.rs @@ -20,12 +20,8 @@ where run_migrate(migrator, db, cli.command, cli.verbose).await; } -pub async fn run_migrate( - _: M, - db: &DbConn, - command: Option, - verbose: bool, -) where +pub async fn run_migrate(_: M, db: &DbConn, command: Option, verbose: bool) +where M: MigratorTrait, { let filter = match verbose {