From 9b0f80a943094619f2fab349da4f92a4ea15c980 Mon Sep 17 00:00:00 2001 From: Anton Argirov Date: Fri, 29 May 2015 20:02:43 +0600 Subject: [PATCH] #11: fixed migrations on Rails 2, 3 --- db/migrate/20150526132244_create_example_workflow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20150526132244_create_example_workflow.rb b/db/migrate/20150526132244_create_example_workflow.rb index e8b1f76..3c5f86b 100644 --- a/db/migrate/20150526132244_create_example_workflow.rb +++ b/db/migrate/20150526132244_create_example_workflow.rb @@ -5,7 +5,7 @@ def self.up old = CustomWorkflow.find(:first, :conditions => ['name=?', 'Duration/Done Ratio/Status correlation']) old.destroy if old - CustomWorkflow.create!(:name => 'Duration/Done Ratio/Status correlation', :description => < < 'Duration/Done Ratio/Status correlation', :description => < 'anton.argirov@gmail.com', :before_save => <