method

check_pending!

check_pending!(connection = ActiveRecord::Tasks::DatabaseTasks.migration_connection)
public

Raises ActiveRecord::PendingMigrationError error if any migrations are pending.

This is deprecated in favor of check_all_pending!