summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb
blob: 8b83c640d67e7da27601d1f73352b37ab7760504 (plain)
1
2
3
4
5
6
7
8
9
class AddMissingIndexesToCustomValues < ActiveRecord::Migration[4.2]
  def self.up
    add_index :custom_values, :custom_field_id
  end

  def self.down
    remove_index :custom_values, :custom_field_id
  end
end