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