Mercurial > hg > soundsoftware-site
annotate db/migrate/20120714122200_add_workflows_rule_fields.rb @ 1241:20fa40143c57 redmine-2.2-integration
Added the info class to the tags field description label.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 26 Mar 2013 15:52:04 +0000 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@1115 | 1 class AddWorkflowsRuleFields < ActiveRecord::Migration |
Chris@1115 | 2 def up |
Chris@1115 | 3 add_column :workflows, :field_name, :string, :limit => 30 |
Chris@1115 | 4 add_column :workflows, :rule, :string, :limit => 30 |
Chris@1115 | 5 end |
Chris@1115 | 6 |
Chris@1115 | 7 def down |
Chris@1115 | 8 remove_column :workflows, :field_name |
Chris@1115 | 9 remove_column :workflows, :rule |
Chris@1115 | 10 end |
Chris@1115 | 11 end |