view db/migrate/087_change_projects_description_to_text.rb @ 845:6e2b4ae0c843 bug_365

fixes Bug #365 (project_id is always 1).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 01 Feb 2012 13:19:47 +0000
parents 513646585e45
children
line wrap: on
line source
class ChangeProjectsDescriptionToText < ActiveRecord::Migration
  def self.up
    change_column :projects, :description, :text, :null => true, :default => nil
  end

  def self.down
  end
end