♻️ Removed Makefile, refactored schema in tests
Some checks failed
Build & test / build (push) Has been cancelled
Some checks failed
Build & test / build (push) Has been cancelled
This commit is contained in:
@ -13,8 +13,7 @@ pub async fn run_migrations<A>(
|
||||
where
|
||||
A: AsyncConnection<Backend = Pg> + 'static,
|
||||
{
|
||||
let mut async_wrapper: AsyncConnectionWrapper<A> =
|
||||
AsyncConnectionWrapper::from(async_connection);
|
||||
let mut async_wrapper = AsyncConnectionWrapper::<A>::from(async_connection);
|
||||
|
||||
tokio::task::spawn_blocking(move || {
|
||||
async_wrapper.run_pending_migrations(migrations).unwrap();
|
||||
|
Reference in New Issue
Block a user