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