9 lines
204 B
Ruby
9 lines
204 B
Ruby
class AddAttachmentsDiskDirectory < ActiveRecord::Migration[4.2]
|
|
def up
|
|
add_column :attachments, :disk_directory, :string
|
|
end
|
|
|
|
def down
|
|
remove_column :attachments, :disk_directory
|
|
end
|
|
end
|