Mercurial > hg > soundsoftware-site
annotate db/migrate/20120707064544_add_auth_sources_timeout.rb @ 1550:7d825cbd76c8 feature_1136
Ensure we don't leave a git repo lying around for a repo with no corresponding (even if empty) authormap
author | Chris Cannam |
---|---|
date | Tue, 12 Jan 2016 17:22:27 +0000 |
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 |