To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 2a / 2adb9560bc07d7847c894a43ae505527519cc349.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (288 Bytes)
| 1 | 1296:038ba2d95de8 | Chris | 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 |