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

Version Path
spree_core-3.7.14.1 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.14 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.13 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.12 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.11 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.4.6 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.10 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.9 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.8 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.7 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.6 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.5 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.4 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.3 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.2 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.1 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.0 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.0.rc3 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.2.9 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
spree_core-3.7.0.rc2 db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb