Logic was flipped here by mistake, oops
This commit is contained in:
Sam Saffron 2019-05-22 09:48:03 +10:00
parent 73f178a634
commit 5fdc7b7ca2
1 changed files with 2 additions and 2 deletions

View File

@ -245,9 +245,9 @@ def migration_successful?(db, should_raise = false)
count = Post.where('baked_version <> ? OR baked_version IS NULL', Post::BAKED_VERSION).count
if count > 0
puts "No posts require rebaking"
else
puts "#{count} posts still require rebaking and will be rebaked during regular job"
else
puts "No posts require rebaking"
end
success