annotate .svn/pristine/b4/b476af493226811e3e20008decd6722599f92278.svn-base @ 1480:75fd8eace091 issue_556

Close obsolete branch issue_556
author Chris Cannam
date Sat, 13 Jul 2013 15:26:30 +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