Sha256: 299075b5d254154860717a916f1960a8578cfd4feb2a7abed88f3fb5c95bf09b
Contents?: true
Size: 482 Bytes
Versions: 4
Compression:
Stored size: 482 Bytes
Contents
# This migration comes from acts_as_taggable_on_engine (originally 6) class AddMissingIndexes < ActiveRecord::Migration[4.2] def change add_index :taggings, :tag_id add_index :taggings, :taggable_id add_index :taggings, :taggable_type add_index :taggings, :tagger_id add_index :taggings, :context add_index :taggings, [:tagger_id, :tagger_type] add_index :taggings, [:taggable_id, :taggable_type, :tagger_id, :context], name: 'taggings_idy' end end
Version data entries
4 entries across 4 versions & 1 rubygems