view .svn/pristine/dd/dd0aa83c766a2c2e132d5e6eda1f9a1afdce4ca7.svn-base @ 1347:f1fb4091d7f3 live

expires_in doesn't do what I thought here, we have external expiry job instead
author Chris Cannam
date Fri, 21 Jun 2013 15:05:50 +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