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