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
blacklight-spotlight-4.3.6 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.3.5 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.3.4 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.3.3 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.3.2 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.3.1 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.3.0 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.2.0 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.1.2 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.1.1 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.1.0 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.0.3 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.0.2 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.0.1 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-4.0.0 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.6.0.beta10 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.6.0.beta9 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.6.0.beta8 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.5.0.4 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb
blacklight-spotlight-3.6.0.beta7 db/migrate/20150410180015_add_missing_taggable_index.acts_as_taggable_on_engine.rb