about summary refs log tree commit diff stats
path: root/apworld/options.py
Commit message (Expand)AuthorAgeFilesLines
* Items and connections in the apworldStar Rauchenberger2025-08-121-2/+7
* Started apworldStar Rauchenberger2025-08-071-0/+8
='#n8'>8 9 10 11 12 13 14 15
# This migration comes from acts_as_taggable_on_engine (originally 4)
if ActiveRecord.gem_version >= Gem::Version.new('5.0')
  class AddMissingTaggableIndex < ActiveRecord::Migration[4.2]; end
else
  class AddMissingTaggableIndex < ActiveRecord::Migration; end
end
AddMissingTaggableIndex.class_eval do
  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