editions = Edition.includes(:translations).where('edition_translations.title LIKE " %"')
editions.each do |edition|
  if edition.title
    puts "Updating edition '#{edition.title}'"
    edition.translations.each do |translation|
      translation.update_column(:title, translation.title.strip)
    end
  end
end

puts "Updated #{editions.length} edition titles"

Add data migration to trim edition titles
Add data migration to trim edition titles

Remove extra whitespace from the start to help with sorting by title.
