10 lines
206 B
Ruby
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
|