mirror of
https://github.com/redmine/redmine.git
synced 2024-08-18 14:10:15 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 lines
288 B
Ruby
12 lines
288 B
Ruby
class AddWorkflowsRuleFields < ActiveRecord::Migration
|
|
def up
|
|
add_column :workflows, :field_name, :string, :limit => 30
|
|
add_column :workflows, :rule, :string, :limit => 30
|
|
end
|
|
|
|
def down
|
|
remove_column :workflows, :field_name
|
|
remove_column :workflows, :rule
|
|
end
|
|
end
|