method
get_all_versions
get_all_versions(connection = Base.connection)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 845 def get_all_versions(connection = Base.connection) if connection.table_exists?(schema_migrations_table_name) SchemaMigration.all.map { |x| x.version.to_i }.sort else [] end end