method
down
down(migrations_paths, target_version = nil, &block)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 767 def down(migrations_paths, target_version = nil, &block) migrations = migrations(migrations_paths) migrations.select! { |m| yield m } if block_given? self.new(:down, migrations, target_version).migrate end