089_add_attachments_description.rb
9 lines
| 201 B
| text/x-ruby
|
RubyLexer
|
r1166 | class AddAttachmentsDescription < ActiveRecord::Migration | ||
def self.up | ||||
add_column :attachments, :description, :string | ||||
end | ||||
def self.down | ||||
remove_column :attachments, :description | ||||
end | ||||
end | ||||