def change
    if ActiveRecord::Base.connection.table_exists? 'spree_option_value_translations'
      # manually check for index since Rails if_exists does not always work correctly
      if ActiveRecord::Migration.connection.index_exists?(:spree_option_value_translations, :spree_option_value_id)
        remove_index :spree_option_value_translations, column: :spree_option_value_id, if_exists: true