You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20120714122200_add_workflows_rule_fields.rb 293B

1234567891011
  1. class AddWorkflowsRuleFields < ActiveRecord::Migration[4.2]
  2. def up
  3. add_column :workflows, :field_name, :string, :limit => 30
  4. add_column :workflows, :rule, :string, :limit => 30
  5. end
  6. def down
  7. remove_column :workflows, :field_name
  8. remove_column :workflows, :rule
  9. end
  10. end