10 lines
215 B
Ruby
10 lines
215 B
Ruby
|
class ChangeForumDescription < ActiveRecord::Migration
|
||
|
def up
|
||
|
change_column :forums, :description, :text, default: nil
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
change_column :forums, :description, :string, default: ''
|
||
|
end
|
||
|
end
|