discourse/discourse — pull request #1556 by eriko (2013-10-21 16:28:41+00:00)
Title: Update 20131017014509_add_post_count_to_categories.rb

In case the category does not have any posts yet. You get a null value error running the migration if this is the case.