# frozen_string_literal:true

class RenameCoursesWorkshopsToEvents < ActiveRecord::Migration[4.2]
  def up
    execute "UPDATE statistic_indices
             SET label='Événements'
             WHERE es_type_key='event';"
  end

  def down
    execute "UPDATE statistic_indices
             SET label='Ateliers/Stages'
             WHERE es_type_key='event';"
  end
end
