Mercurial > hg > soundsoftware-site
annotate db/migrate/20110511000000_add_repositories_extra_info.rb @ 1086:5ebdeb79ea9c feature_550
Add "My Page" box for my projects. Currently this also affects the layout of the non-My-Page version of the My Projects list, need to adjust that
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 23 Nov 2012 14:29:55 +0000 |
parents | cbce1fd3b1b7 |
children |
rev | line source |
---|---|
Chris@441 | 1 class AddRepositoriesExtraInfo < ActiveRecord::Migration |
Chris@441 | 2 def self.up |
Chris@441 | 3 add_column :repositories, :extra_info, :text |
Chris@441 | 4 end |
Chris@441 | 5 |
Chris@441 | 6 def self.down |
Chris@441 | 7 remove_column :repositories, :extra_info |
Chris@441 | 8 end |
Chris@441 | 9 end |