class ActiveRecord::MigrationContext

def get_all_versions # :nodoc:

:nodoc:
def get_all_versions # :nodoc:
  if schema_migration.table_exists?
    schema_migration.all_versions.map(&:to_i)
  else
    []
  end
end