Sha256: 02f5bd9629b4bb665ded7eb4e1a0a935b4ab73fd3ece19902f40cd64f591d7b9
Contents?: true
Size: 503 Bytes
Versions: 63
Compression:
Stored size: 503 Bytes
Contents
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
63 entries across 63 versions & 1 rubygems