method

current_version

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: MigrationContext
current_version() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 1065
    def current_version
      get_all_versions.max || 0
    rescue ActiveRecord::NoDatabaseError
    end
Register or log in to add new notes.