method

check_pending!

Importance_1
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!

Show source
Register or log in to add new notes.