Sha256: 4289299be9d375b7734a8030ca5186db6b2110180ec167d2517ab8319fd7d469

Contents?: true

Size: 181 Bytes

Versions: 65

Compression:

Stored size: 181 Bytes

Contents

class AddAdjustmentsIndex < ActiveRecord::Migration
  def self.up
    add_index(:adjustments, :order_id)
  end

  def self.down
    remove_index(:adjustments, :order_id)
  end
end

Version data entries

65 entries across 53 versions & 10 rubygems

Version Path
spree-0.11.0 db/migrate/20100301163454_add_adjustments_index.rb
spree-0.10.2 db/migrate/20100301163454_add_adjustments_index.rb
spree-0.10.1 db/migrate/20100301163454_add_adjustments_index.rb
spree-0.10.0 db/migrate/20100301163454_add_adjustments_index.rb
spree-0.10.0.beta db/migrate/20100301163454_add_adjustments_index.rb