To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20120714122200_add_workflows_rule_fields.rb @ 1298:4f746d8966dd

History | View | Annotate | Download (288 Bytes)

1
class AddWorkflowsRuleFields < ActiveRecord::Migration
2
  def up
3
    add_column :workflows, :field_name, :string, :limit => 30
4
    add_column :workflows, :rule, :string, :limit => 30
5
  end
6

    
7
  def down
8
    remove_column :workflows, :field_name
9
    remove_column :workflows, :rule
10
  end
11
end