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

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