alphagov/specialist-publisher — pull request #353 by tommyp (2014-12-08 16:13:08+00:00)
Title: Fix Publication Log Change History migration

Previous version of this migration returned SpecialistDocumentEditions with empty array change notes history. This commit fixes the query to only return editions with a change note history with something in it and also adds a condition to make sure that the object pulled from the array isn't nil.