Fix migrate! macro

This commit is contained in:
Evgeny Nosov
2021-02-03 14:12:44 +03:00
committed by Ryan Leckey
parent 85ff651ba1
commit 8b866bb23d
2 changed files with 4 additions and 2 deletions

View File

@@ -105,7 +105,8 @@ pub(crate) fn expand_migrator_from_dir(dir: LitStr) -> crate::Result<TokenStream
::sqlx::migrate::Migrator {
migrations: ::std::borrow::Cow::Borrowed(&[
#(#migrations),*
])
]),
ignore_missing: false,
}
})
}