Skip to content

Instance Method

revert(on:)

Called when the changes from a migration are reverted.
func revert(on database: any Database) -> EventLoopFuture<Void>

Parameters

database

Database to revert the migration on.

Return Value

An asynchronous Void.