bigdir/db/migrate/20110227125750_change_journ...

12 lines
324 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class ChangeJournalDetailsValuesToText < ActiveRecord::Migration
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