feat: move migrations

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2026-02-27 12:02:52 +01:00
parent aaca10fc9d
commit a716bce757
4 changed files with 68 additions and 2 deletions

View File

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