Project

General

Profile

Feature #7554 » 20111017193453_add_is_private_to_documents.rb

Preethi Sriram, 2011-11-02 18:58

 
1
class AddIsPrivateToDocuments < ActiveRecord::Migration
2
  def self.up
3
    add_column :documents, :is_private, :boolean, :default => false, :null => false
4
  end
5

    
6
  def self.down
7
    remove_column :documents, :is_private
8
  end
9
end
(2-2/6)