We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
harness
1 parent 15d780d commit 3aae025Copy full SHA for 3aae025
src/bin/crates-admin/migrate.rs
@@ -47,8 +47,7 @@ pub async fn run(_opts: Opts) -> Result<(), Error> {
47
48
spawn_blocking(move || {
49
info!("Migrating the database");
50
- let mut harness = HarnessWithOutput::write_to_stdout(&mut conn);
51
- harness
+ HarnessWithOutput::write_to_stdout(&mut conn)
52
.run_pending_migrations(MIGRATIONS)
53
.map_err(|err| anyhow!("Failed to run migrations: {err}"))?;
54
0 commit comments