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 / 38 / 384c8a0657187a62ce9686aa38d6cb462cd66e8f.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (324 Bytes)
| 1 |
class ChangeJournalDetailsValuesToText < ActiveRecord::Migration |
|---|---|
| 2 |
def self.up |
| 3 |
change_column :journal_details, :old_value, :text |
| 4 |
change_column :journal_details, :value, :text |
| 5 |
end |
| 6 |
|
| 7 |
def self.down |
| 8 |
change_column :journal_details, :old_value, :string |
| 9 |
change_column :journal_details, :value, :string |
| 10 |
end |
| 11 |
end |