diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-10-10 15:03:57 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-14 07:46:12 +0200 |
commit | f07cbec865093c30299ad038d52e3e70e2527848 (patch) | |
tree | 030788ff1cbda52a8be38de766b36a61fe88d5ce /activerecord/lib/active_record/railties | |
parent | ab1a66153360231e60c2c115aff599dcd314e309 (diff) | |
download | rails-f07cbec865093c30299ad038d52e3e70e2527848.tar.gz rails-f07cbec865093c30299ad038d52e3e70e2527848.tar.bz2 rails-f07cbec865093c30299ad038d52e3e70e2527848.zip |
Do not treat information about skipped migrations as WARNINGs but as a NOTEs, also puts to stdin
Diffstat (limited to 'activerecord/lib/active_record/railties')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index 5ad440e58d..1fbc8a1d32 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -494,7 +494,7 @@ namespace :railties do end on_skip = Proc.new do |name, migration| - $stderr.puts "WARNING: Migration #{migration.basename} from #{name} has been skipped. Migration with the same name already exists." + puts "NOTE: Migration #{migration.basename} from #{name} has been skipped. Migration with the same name already exists." end on_copy = Proc.new do |name, migration, old_path| |