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