Sha256: f18fd083f8c2f200ff14b16c3d4956256167730ca0e975ee1ff01c46efc74252

Contents?: true

Size: 565 Bytes

Versions: 9

Compression:

Stored size: 565 Bytes

Contents

# This migration comes from spree (originally 20160511072335)
class AddMissingIndexesToSpreeTaggings < ActiveRecord::Migration[4.2]
  def change
    add_index :spree_taggings, :tag_id
    add_index :spree_taggings, :taggable_id
    add_index :spree_taggings, :taggable_type
    add_index :spree_taggings, :tagger_id
    add_index :spree_taggings, :context

    add_index :spree_taggings, [:tagger_id, :tagger_type]
    add_index :spree_taggings,
              [:taggable_id, :taggable_type, :tagger_id, :context],
              name: "spree_taggings_idy"
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195936_add_missing_indexes_to_spree_taggings.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091877_add_missing_indexes_to_spree_taggings.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091877_add_missing_indexes_to_spree_taggings.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516182065_add_missing_indexes_to_spree_taggings.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516182065_add_missing_indexes_to_spree_taggings.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516182065_add_missing_indexes_to_spree_taggings.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516182065_add_missing_indexes_to_spree_taggings.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516182065_add_missing_indexes_to_spree_taggings.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516182065_add_missing_indexes_to_spree_taggings.spree.rb