method

current_version

Method not available on this version

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

current_version()
public

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 1293
    def current_version # :nodoc:
      get_all_versions.max || 0
    rescue ActiveRecord::NoDatabaseError
    end