@@ -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