Sha256: fe255205a94e949bcd31ade9a92b9ec044b7589b455c17c0ef89a3ef5a67e087

Contents?: true

Size: 372 Bytes

Versions: 64

Compression:

Stored size: 372 Bytes

Contents

# This migration comes from dm_core (originally 20140709145503)
# This migration comes from acts_as_taggable_on_engine (originally 4)
class AddMissingTaggableIndex < ActiveRecord::Migration
  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

64 entries across 64 versions & 4 rubygems

Version Path
dm_event-4.2.1.5 spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb
dm_newsletter-4.2.1.5 spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb
dm_forum-4.2.1.5 spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb
dm_cms-4.2.1.5 spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb