To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20110227125750_change_journal_details_values_to_text.rb @ 442:753f1380d6bc

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