blob: 2deda18861227661e190d8a6b10c980920555515 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
class AddAttachmentDataToImports < ActiveRecord::Migration[4.2]
def self.up
change_table :imports do |t|
t.attachment :data
end
end
def self.down
remove_attachment :imports, :data
end
end
|