mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:54:23 +08:00
6518cac5cf
Now, if you do `rake log db:migrate`, it'll run migrations, but with logging enabled, so that you can see what is actually happening.
4 lines
82 B
Ruby
4 lines
82 B
Ruby
task :log => :environment do
|
|
ActiveRecord::Base.logger = Logger.new(STDOUT)
|
|
end
|