method

check_pending_migrations

rails latest stable - Class: ActiveRecord::InvalidMigrationTimestampError::Migration

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

check_pending_migrations()
public

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 752
      def check_pending_migrations # :nodoc:
        migrations = pending_migrations

        if migrations.any?
          raise ActiveRecord::PendingMigrationError.new(pending_migrations: migrations)
        end
      end