socialforge/db/migrate/20140814062455_change_forum...

10 lines
215 B
Ruby
Raw Normal View History

class ChangeForumDescription < ActiveRecord::Migration
def up
change_column :forums, :description, :text, default: nil
end
def down
change_column :forums, :description, :string, default: ''
end
end