Skip to content

Conversation

@tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Jan 18, 2020

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.

@tanner0101 tanner0101 added enhancement New feature or request semver-minor Contains new APIs labels Jan 18, 2020
@tanner0101 tanner0101 merged commit fa4382f into master Jan 18, 2020
@tanner0101
Copy link
Member Author

These changes are now available in 4.0.0-beta.2.2

@tanner0101 tanner0101 deleted the tn-auto-migrate branch January 18, 2020 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request semver-minor Contains new APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant