Commit b0754ca7 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes migration 87 error when running MySQL with STRICT_TRANS_TABLES on (#771).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1189 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4f9f3097
class ChangeProjectsDescriptionToText < ActiveRecord::Migration
def self.up
change_column :projects, :description, :text, :null => true
change_column :projects, :description, :text, :null => true, :default => nil
end
def self.down
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment