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_core-0.70.7 db/migrate/20100301163454_add_adjustments_index.rb
spree-0.11.4 db/migrate/20100301163454_add_adjustments_index.rb
spree_core-0.70.6 db/migrate/20100301163454_add_adjustments_index.rb
apispree_core-0.0.0 db/migrate/20100301163454_add_adjustments_index.rb
My-Commerce_core-1.1.0 db/migrate/20100301163454_add_adjustments_index.rb
My-Commerce_core-1.0.0 db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 core/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb
MyCommerce-0.0.3 core/db/migrate/20100301163454_add_adjustments_index.rb