method

check_pending!

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::Migration
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.