Skip to content

Commit

Permalink
Wait for migrations to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Mar 17, 2020
1 parent fc9d7c6 commit b35aa90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Run/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ try LoggingSystem.bootstrap(from: &env)
let app = Application(env)
defer { app.shutdown() }
try configure(app)
app.autoMigrate()
try app.autoMigrate().wait()
try app.run()

0 comments on commit b35aa90

Please sign in to comment.