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.
1 parent 9346d2b commit 098f350Copy full SHA for 098f350
1 file changed
src/migrate/mod.rs
@@ -178,7 +178,7 @@ pub async fn run_migrate_custom(
178
Vec::new(),
179
)
180
.await
181
- .and_then(|option| option.map(|row| row.get(0)).transpose())
+ .and_then(|option| option.map(|row| row.get(0)).transpose().map_err(Into::into))
182
.with_context(|| {
183
"Couldn't fetch information about successful migrations from migration table"
184
})?;
0 commit comments