mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Forgot to set Migration.verbose at f8d9a51949
💣
This commit is contained in:
parent
365aa654d8
commit
f0737d80d7
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ module ActiveRecord
|
||||||
verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
|
verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
|
||||||
version = ENV["VERSION"] ? ENV["VERSION"].to_i : nil
|
version = ENV["VERSION"] ? ENV["VERSION"].to_i : nil
|
||||||
scope = ENV['SCOPE']
|
scope = ENV['SCOPE']
|
||||||
verbose_was = Migration.verbose
|
verbose_was, Migration.verbose = Migration.verbose, verbose
|
||||||
Migrator.migrate(Migrator.migrations_paths, version) do |migration|
|
Migrator.migrate(Migrator.migrations_paths, version) do |migration|
|
||||||
scope.blank? || scope == migration.scope
|
scope.blank? || scope == migration.scope
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue