redmine/db/migrate/20110408103312_add_roles_issues_visibility.rb
Jean-Philippe Lang aa0d01b3d9 Adds an issues visibility level on roles (#7412).
It can be set so that users only see their own issues (created or assigned).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 17:53:15 +00:00

10 rivejä
253 B
Ruby

class AddRolesIssuesVisibility < ActiveRecord::Migration
def self.up
add_column :roles, :issues_visibility, :string, :limit => 30, :default => 'default', :null => false
end
def self.down
remove_column :roles, :issues_visibility
end
end