summaryrefslogtreecommitdiffstats
path: root/db/migrate/20110227125750_change_journal_details_values_to_text.rb
blob: 36dd7b5d148c924aa97397843d6736f8902e8246 (plain)
1
2
3
4
5
6
7
8
9
10
11
class ChangeJournalDetailsValuesToText < ActiveRecord::Migration[4.2]
  def self.up
    change_column :journal_details, :old_value, :text
    change_column :journal_details, :value, :text
  end

  def self.down
    change_column :journal_details, :old_value, :string
    change_column :journal_details, :value, :string
  end
end