1
0
Mirror von https://github.com/redmine/redmine.git synchronisiert 2024-07-27 07:37:45 +02:00
redmine/db/migrate/20120714122100_update_workflows_to_sti.rb
Jean-Philippe Lang d7b669e50b 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
2012-07-15 14:12:17 +00:00

10 Zeilen
190 B
Ruby

class UpdateWorkflowsToSti < ActiveRecord::Migration
def up
WorkflowRule.update_all "type = 'WorkflowTransition'"
end
def down
WorkflowRule.update_all "type = NULL"
end
end