Skip to content
Snippets Groups Projects
Commit 97e7432c authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Fixed migration 87 (mysql: TEXT column can't have a default value).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1093 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dad5f6d4
Branches
Tags
No related merge requests found
class ChangeProjectsDescriptionToText < ActiveRecord::Migration
def self.up
change_column :projects, :description, :text, :default => ''
change_column :projects, :description, :text
end
def self.down
......
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