method

current_version

rails latest stable - Class: ActiveRecord::Migrator
current_version()
public

For cases where a table doesn’t exist like loading from schema cache