annotate .svn/pristine/b4/b476af493226811e3e20008decd6722599f92278.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 class UpdateWorkflowsToSti < ActiveRecord::Migration
Chris@1296 2 def up
Chris@1296 3 WorkflowRule.update_all "type = 'WorkflowTransition'"
Chris@1296 4 end
Chris@1296 5
Chris@1296 6 def down
Chris@1296 7 WorkflowRule.update_all "type = NULL"
Chris@1296 8 end
Chris@1296 9 end