@@ -1,8 +1,8 | |||||
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 | |
7 | end |
|
7 | end | |
8 | end |
|
8 | end |
General Comments 0
You need to be logged in to leave comments.
Login now