##// END OF EJS Templates
Replaces find(:first) calls....
Replaces find(:first) calls. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9794:d7b669e50b1c
r10701:31c33f462d92
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