summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091220183727_add_index_to_settings_name.rb
blob: e6c96ec3f1ecc0c3af906f1e27cc504c41af1f1f (plain)
1
2
3
4
5
6
7
8
9
class AddIndexToSettingsName < ActiveRecord::Migration
  def self.up
    add_index :settings, :name
  end

  def self.down
    remove_index :settings, :name
  end
end