view db/migrate/20120707064544_add_auth_sources_timeout.rb @ 1123:48c5fdd6cf10 redmine-2.2-integration

Rails 3 compatibility: renamed all named_scope calls to scope.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 16:19:01 +0000
parents 433d4f72a19b
children
line wrap: on
line source
class AddAuthSourcesTimeout < ActiveRecord::Migration
  def up
    add_column :auth_sources, :timeout, :integer
  end

  def self.down
    remove_column :auth_sources, :timeout
  end
end