♻️ Removed Makefile, refactored schema in tests
Some checks failed
Build & test / build (push) Has been cancelled

This commit is contained in:
2025-03-08 19:09:43 +01:00
parent d260b2d676
commit f14543af6b
7 changed files with 15 additions and 31 deletions

View File

@ -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();