view db/migrate/20110227125750_change_journal_details_values_to_text.rb @ 558:c94e23a6eff1 feature_36

Related to Bug #222Updated the look of the authors list (more intuitive to sort). Created the plugin's stylesheet file.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 03 Aug 2011 16:27:13 +0100
parents 051f544170fe
children
line wrap: on
line source
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