method

connection

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

Method not available on this version

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

connection()
private

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 1492
      def connection
        ActiveRecord::Tasks::DatabaseTasks.migration_connection
      end