# File lib/data_migrate/data_migrator.rb, line 27 def get_all_versions(connection = ActiveRecord::Base.connection) if table_exists?(connection, schema_migrations_table_name) DataMigrate::DataSchemaMigration.all.map { |x| x.version.to_i }.sort else [] end end