diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index 697c03a..280f8a2 100644 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -58,7 +58,7 @@ public func configure(_ app: Application) async throws { app.migrations.add(PasswordResetMigration()) do { - try app.autoMigrate().wait() + try await app.autoMigrate() } catch { await monitor.log("Failed to migrate database: \(error)") try? await status.update(.initializationFailure)