11 lines
225 B
Ruby
11 lines
225 B
Ruby
class AddAttachmentImageToScreenshots < ActiveRecord::Migration
|
|
def self.up
|
|
change_table :screenshots do |t|
|
|
t.attachment :image
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
remove_attachment :screenshots, :image
|
|
end
|
|
end
|