socialforge/db/migrate/20161009053958_change_descr...

10 lines
206 B
Ruby

class ChangeDescriptionForAttachment < ActiveRecord::Migration
def up
change_column :attachments, :description, :text
end
def down
change_column :attachments, :description, :string
end
end