aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorThibault Jouan <tj@a13.fr>2012-12-27 21:50:55 +0000
committerThibault Jouan <tj@a13.fr>2012-12-30 15:21:04 +0000
commit494cfc373577850957844363a472ecd9c106f30a (patch)
treebf2a5e09d2b2271a75de856bccb959798e61ee68 /ci
parent257b3f63c4c73e369d789c7b10653398df7390f7 (diff)
downloadrails-494cfc373577850957844363a472ecd9c106f30a.tar.gz
rails-494cfc373577850957844363a472ecd9c106f30a.tar.bz2
rails-494cfc373577850957844363a472ecd9c106f30a.zip
Fix missing ending newline in db structure dump:
When dumping database structure with `rake db:structure:dump` and using migrations, the resulting file will not end with a newline char. Although it's not mandatory, it breaks a lot of simple use cases with programs like cat, more, grep, etc. This changes use `puts' instead of `<<' to append migration versions data to the dump and also split the line where this is happening as it was a bit long.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions