Instance Method
prepare(on:)
Called when a migration is executed.
func prepare(on database: any Database) -> EventLoopFuture<Void>
Parameters
databaseDatabaseto run the migration on,
Return Value
An asynchronous Void.
Default Implementations
AsyncMigration Implementations
prepare(on:)Called when a migration is executed.