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