Mercurial > hg > soundsoftware-site
annotate db/migrate/20130215111127_add_issues_closed_on.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 | 261b3d9a4903 |
children |
rev | line source |
---|---|
Chris@1464 | 1 class AddIssuesClosedOn < ActiveRecord::Migration |
Chris@1464 | 2 def up |
Chris@1464 | 3 add_column :issues, :closed_on, :datetime, :default => nil |
Chris@1464 | 4 end |
Chris@1464 | 5 |
Chris@1464 | 6 def down |
Chris@1464 | 7 remove_column :issues, :closed_on |
Chris@1464 | 8 end |
Chris@1464 | 9 end |