Add autoMigrate and autoRevert methods
Pre-release
Pre-release
Adds autoMigrate
and autoRevert
methods to Application
. These methods allow for programmatically running the equivalent of --auto-migrate
and --auto-revert
.
try app.autoMigrate().wait()
These methods are useful when working with ephemeral databases like in-memory SQLite and for testing.