delete_all with conditions is deprecated
delete_all with conditions is deprecated

Silences these warnings: DEPRECATION WARNING: Passing conditions to
delete_all is deprecated and will be removed in Rails 5.1. To achieve
the same use where(conditions).delete_all. (called from
delete_change_notes_if_not_major_update at
/var/govuk/publishing-api/app/commands/v2/publish.rb:66)

alphagov/publishing-api,alphagov/publishing-api