Sha256: c50c952cf325b279515b16ba5046ef703226aa081c0ae8e161fa659d862848fa

Contents?: true

Size: 313 Bytes

Versions: 275

Compression:

Stored size: 313 Bytes

Contents

# This migration comes from acts_as_taggable_on_engine (originally 4)
class AddMissingTaggableIndex < ActiveRecord::Migration[4.2]
  def self.up
    add_index :taggings, [:taggable_id, :taggable_type, :context]
  end

  def self.down
    remove_index :taggings, [:taggable_id, :taggable_type, :context]
  end
end

Version data entries

275 entries across 275 versions & 5 rubygems

Version Path
mumuki-domain-9.8.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.7.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.6.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.1.0 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.5.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.4.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.0.3 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.0.2 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.3.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.0.1 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.2.1 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.0.0 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.2.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.1.2 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.1.1 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.0.0.rc6 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.1.0 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.0.0.rc5 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.0.6 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb
mumuki-domain-9.0.5 db/migrate/20141212044720_add_missing_taggable_index.acts_as_taggable_on_engine.rb