##// END OF EJS Templates
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8877:231683e8d728
r9794:d7b669e50b1c
Show More
062_insert_builtin_roles.rb
16 lines | 431 B | text/x-ruby | RubyLexer
/ db / migrate / 062_insert_builtin_roles.rb
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 class InsertBuiltinRoles < ActiveRecord::Migration
def self.up
Jean-Philippe Lang
Undefined #builtin= with Rails 3.1.3....
r8877 Role.reset_column_information
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 nonmember = Role.new(:name => 'Non member', :position => 0)
nonmember.builtin = Role::BUILTIN_NON_MEMBER
nonmember.save
Toshi MARUYAMA
remove trailing white-spaces from db/migrate/062_insert_builtin_roles.rb (#9510)...
r7632
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 anonymous = Role.new(:name => 'Anonymous', :position => 0)
anonymous.builtin = Role::BUILTIN_ANONYMOUS
Toshi MARUYAMA
remove trailing white-spaces from db/migrate/062_insert_builtin_roles.rb (#9510)...
r7632 anonymous.save
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 end
def self.down
Role.destroy_all 'builtin <> 0'
end
end