feat: fix migrations

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2026-02-27 11:52:29 +01:00
parent aca2cb7f40
commit 1182b9c243
3 changed files with 5 additions and 9 deletions

View File

@@ -44,11 +44,7 @@ impl TestServer {
.unwrap();
// Run migrations
sqlx::migrate!("../post3/migrations/")
.set_locking(false)
.run(&pool)
.await
.unwrap();
post3::MIGRATOR.run(&pool).await.unwrap();
// Clean slate
sqlx::query("DELETE FROM upload_parts").execute(&pool).await.unwrap();