##// END OF EJS Templates
Fixes migration 87 error when running MySQL with STRICT_TRANS_TABLES on (#771)....
Jean-Philippe Lang -
r1175:b0754ca720f6
parent child
Show More
@@ -1,6 +1,6
1 class ChangeProjectsDescriptionToText < ActiveRecord::Migration
1 class ChangeProjectsDescriptionToText < ActiveRecord::Migration
2 def self.up
2 def self.up
3 change_column :projects, :description, :text, :null => true
3 change_column :projects, :description, :text, :null => true, :default => nil
4 end
4 end
5
5
6 def self.down
6 def self.down
General Comments 0
You need to be logged in to leave comments. Login now