Project

General

Profile

Feature #7554 » 20111028205848_add_documents_visibility_to_roles.rb

Preethi Sriram, 2011-11-02 18:58

 
1
class AddDocumentsVisibilityToRoles < ActiveRecord::Migration
2
  def self.up
3
    add_column :roles, :documents_visibility, :string, :limit => 30, :default => 'default', :null => false
4
  end
5

    
6
  def self.down
7
    remove_column :roles, :documents_visibility
8
  end
9
end
(5-5/6)