Skip to content

Commit

Permalink
#11: fixed migrations on Rails 2, 3
Browse files Browse the repository at this point in the history
  • Loading branch information
anteo committed May 29, 2015
1 parent fef4bf3 commit 9b0f80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20150526132244_create_example_workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 => <<EOD, :script => <<EOS)
CustomWorkflow.create!(:name => 'Duration/Done Ratio/Status correlation', :description => <<EOD, :author => '[email protected]', :before_save => <<EOS)
Set up a correlation between the start date, due date, done ratio and status of issues.
* If done ratio is changed to 100% and status is "In Process", status changes to "Resolved"
Expand Down

0 comments on commit 9b0f80a

Please sign in to comment.