Mercurial > hg > soundsoftware-site
annotate db/migrate/20110412065600_add_issues_is_private.rb @ 774:58410c63bb84 feature_334
Force a Google search box rudely into the middle of the search view, just to see how it looks.
It can be styled reasonably well -- but the adverts, when they appear, are atrocious.
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 17 Nov 2011 14:56:55 +0000 |
parents | cbce1fd3b1b7 |
children |
rev | line source |
---|---|
Chris@441 | 1 class AddIssuesIsPrivate < ActiveRecord::Migration |
Chris@441 | 2 def self.up |
Chris@441 | 3 add_column :issues, :is_private, :boolean, :default => false, :null => false |
Chris@441 | 4 end |
Chris@441 | 5 |
Chris@441 | 6 def self.down |
Chris@441 | 7 remove_column :issues, :is_private |
Chris@441 | 8 end |
Chris@441 | 9 end |