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