Project

General

Profile

Feature #9432 » 20120303053333_issues_is_private_by_default.rb

(OPENTIA) Lucas J. González, 2012-03-03 17:35

 
1
class IssuesIsPrivateByDefault < ActiveRecord::Migration
2
  def self.up
3
    change_column :issues, :is_private, :boolean, :default => true, :null => false
4
  end
5

    
6
  def self.down
7
    change_column :issues, :is_private, :boolean, :default => false, :null => false
8
  end
9
end
(1-1/7)