Mercurial > hg > soundsoftware-site
view db/migrate/20120714122100_update_workflows_to_sti.rb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | |
children |
line wrap: on
line source
class UpdateWorkflowsToSti < ActiveRecord::Migration def up WorkflowRule.update_all "type = 'WorkflowTransition'" end def down WorkflowRule.update_all "type = NULL" end end