method

current_version

Importance_0
v7.1.3.2 - 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 1303
    def current_version # :nodoc:
      get_all_versions.max || 0
    rescue ActiveRecord::NoDatabaseError
    end
Register or log in to add new notes.