socialforge/db/migrate/20110412065600_add_issues_i...

10 lines
218 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddIssuesIsPrivate < ActiveRecord::Migration
def self.up
add_column :issues, :is_private, :boolean, :default => false, :null => false
end
def self.down
remove_column :issues, :is_private
end
end