Skip to content

Add autoMigrate and autoRevert methods

Pre-release
Pre-release

Choose a tag to compare

@tanner0101 tanner0101 released this 18 Jan 21:02
fa4382f

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.