= private = protected
current_version()
For cases where a table doesn’t exist like loading from schema cache
# File activerecord/lib/active_record/migration.rb, line 1404 def current_version connection = ActiveRecord::Tasks::DatabaseTasks.migration_connection schema_migration = SchemaMigration.new(connection) internal_metadata = InternalMetadata.new(connection) MigrationContext.new(migrations_paths, schema_migration, internal_metadata).current_version end