socialforge/db/migrate/20161009053958_change_descr...

10 lines
206 B
Ruby
Raw Normal View History

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