# File lib/dm-core/auto_migrations.rb, line 23 def self.auto_migrate_down(repository_name = nil, *descendants) descendants = DataMapper::Resource.descendants.to_a if descendants.empty? descendants.reverse.each do |model| model.auto_migrate_down!(repository_name) end end