20121213084931_add_attachments_disk_directory.rb
9 lines
| 199 B
| text/x-ruby
|
RubyLexer
|
r10761 | class AddAttachmentsDiskDirectory < ActiveRecord::Migration | ||
def up | ||||
add_column :attachments, :disk_directory, :string | ||||
end | ||||
def down | ||||
remove_column :attachments, :disk_directory | ||||
end | ||||
end | ||||