aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/tasks
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2013-04-30 17:24:29 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2013-04-30 17:24:29 -0700
commit2496bd9a98a817dbee567948e19fbee08991d347 (patch)
tree816a5c468f2b317f8e6eda6bd683fa9652deb9ec /activerecord/lib/active_record/tasks
parentebd7cc6f459e43aa03a6b8095266888909e0ee4d (diff)
downloadrails-2496bd9a98a817dbee567948e19fbee08991d347.tar.gz
rails-2496bd9a98a817dbee567948e19fbee08991d347.tar.bz2
rails-2496bd9a98a817dbee567948e19fbee08991d347.zip
Mute psql output when running rake db:schema:load
Diffstat (limited to 'activerecord/lib/active_record/tasks')
-rw-r--r--activerecord/lib/active_record/tasks/postgresql_database_tasks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb b/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb
index 0b1b030516..4413330fab 100644
--- a/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb
+++ b/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb
@@ -59,7 +59,7 @@ module ActiveRecord
def structure_load(filename)
set_psql_env
- Kernel.system("psql -f #{filename} #{configuration['database']}")
+ Kernel.system("psql -q -f #{filename} #{configuration['database']}")
end
private