##// END OF EJS Templates
3.1-stable: upgrade Rails to 4.2.7.1...
3.1-stable: upgrade Rails to 4.2.7.1 git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@15733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9794:d7b669e50b1c
r15351:14bc6a5310d9
Show More
20120714122100_update_workflows_to_sti.rb
9 lines | 190 B | text/x-ruby | RubyLexer
/ db / migrate / 20120714122100_update_workflows_to_sti.rb
class UpdateWorkflowsToSti < ActiveRecord::Migration
def up
WorkflowRule.update_all "type = 'WorkflowTransition'"
end
def down
WorkflowRule.update_all "type = NULL"
end
end