class AddOrderIdIndexToPayments < ActiveRecord::Migration
  def self.up
    add_index :spree_payments, :order_id
  end

  def self.down
    remove_index :spree_payments, :order_id
  end
end

Add order_id index to spree_payments
Add order_id index to spree_payments

Fixes #2536
