Mercurial > hg > soundsoftware-site
annotate .svn/pristine/2a/2adb9560bc07d7847c894a43ae505527519cc349.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 class AddWorkflowsRuleFields < ActiveRecord::Migration |
Chris@1296 | 2 def up |
Chris@1296 | 3 add_column :workflows, :field_name, :string, :limit => 30 |
Chris@1296 | 4 add_column :workflows, :rule, :string, :limit => 30 |
Chris@1296 | 5 end |
Chris@1296 | 6 |
Chris@1296 | 7 def down |
Chris@1296 | 8 remove_column :workflows, :field_name |
Chris@1296 | 9 remove_column :workflows, :rule |
Chris@1296 | 10 end |
Chris@1296 | 11 end |