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
This commit is contained in:
parent
dad5f6d403
commit
97e7432ce6
|
@ -1,6 +1,6 @@
|
||||||
class ChangeProjectsDescriptionToText < ActiveRecord::Migration
|
class ChangeProjectsDescriptionToText < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
change_column :projects, :description, :text, :default => ''
|
change_column :projects, :description, :text
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.down
|
def self.down
|
||||||
|
|
Loading…
Reference in New Issue