annotate db/migrate/20110227125750_change_journal_details_values_to_text.rb @ 1086:5ebdeb79ea9c feature_550

Add "My Page" box for my projects. Currently this also affects the layout of the non-My-Page version of the My Projects list, need to adjust that
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 23 Nov 2012 14:29:55 +0000
parents 051f544170fe
children
rev   line source
Chris@245 1 class ChangeJournalDetailsValuesToText < ActiveRecord::Migration
Chris@245 2 def self.up
Chris@245 3 change_column :journal_details, :old_value, :text
Chris@245 4 change_column :journal_details, :value, :text
Chris@245 5 end
Chris@245 6
Chris@245 7 def self.down
Chris@245 8 change_column :journal_details, :old_value, :string
Chris@245 9 change_column :journal_details, :value, :string
Chris@245 10 end
Chris@245 11 end