diff options
Diffstat (limited to 'db/migrate/20111027152724_issue_conten_to_note.rb')
-rw-r--r-- | db/migrate/20111027152724_issue_conten_to_note.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db/migrate/20111027152724_issue_conten_to_note.rb b/db/migrate/20111027152724_issue_conten_to_note.rb index c151a9317ff..0677fee6b97 100644 --- a/db/migrate/20111027152724_issue_conten_to_note.rb +++ b/db/migrate/20111027152724_issue_conten_to_note.rb @@ -15,16 +15,16 @@ class IssueContenToNote < ActiveRecord::Migration if note.save issue.update_attributes(:content => nil) print "." - else + else print "F" end end total = Issue.where("content is not null").count - if total > 0 - puts "content of #{total} issues were not migrated" - else + if total > 0 + puts "content of #{total} issues were not migrated" + else puts "Done" end end |