class RemoveUnusedChildBrowseTags < Mongoid::Migration

  TAG_IDS = %w(
    childcare-parenting/time-off-new-child
    childcare-parenting/child-into-care
  )

  def self.up
    TAG_IDS.each { |tag_id|
    tag = Tag.where(tag_id: tag_id).first
     if tag
        tag.destroy
        puts "Tag with id #{tag_id} destroyed"
     end
    }
  end

  def self.down
    # Nothing to do here
  end
end

Delete unused mainstream browse pages
Delete unused mainstream browse pages

Two childcare mainstream browse pages were created,
but then the content was updated and they're no longer needed.
They were never published, and never should be,
but need deleting to tidy things up.
