Mercurial > hg > soundsoftware-site
annotate db/migrate/20120707064544_add_auth_sources_timeout.rb @ 1269:5e4f04bd7a1e redmine-2.2-integration
edit renamed to update in controller
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 02 May 2013 15:43:31 +0100 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@1115 | 1 class AddAuthSourcesTimeout < ActiveRecord::Migration |
Chris@1115 | 2 def up |
Chris@1115 | 3 add_column :auth_sources, :timeout, :integer |
Chris@1115 | 4 end |
Chris@1115 | 5 |
Chris@1115 | 6 def self.down |
Chris@1115 | 7 remove_column :auth_sources, :timeout |
Chris@1115 | 8 end |
Chris@1115 | 9 end |