view .svn/pristine/dd/dd0aa83c766a2c2e132d5e6eda1f9a1afdce4ca7.svn-base @ 1388:cfa9122bb584 luisf

Removed unnecessary code; added useful comment.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 25 Sep 2013 17:42:46 +0100
parents cbb26bc654de
children
line wrap: on
line source
class AddIndexToSettingsName < ActiveRecord::Migration
  def self.up
    add_index :settings, :name
  end

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