redmine/db/migrate/20120930112914_add_journals_private_notes.rb
Jean-Philippe Lang 0178b5a2fe Private issue notes (#1554).
Adds 2 new permissions for viewing/adding private comments to issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-03 21:36:19 +00:00

10 lines
223 B
Ruby

class AddJournalsPrivateNotes < ActiveRecord::Migration
def up
add_column :journals, :private_notes, :boolean, :default => false, :null => false
end
def down
remove_column :journals, :private_notes
end
end