Project

General

Profile

Feature #7554 » 20111017193453_add_is_private_to_documents.rb

Preethi Sriram, 2011-11-02 18:58

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

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