10 lines
178 B
Ruby
10 lines
178 B
Ruby
|
class AddScreenshotToMaps < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_attachment :maps, :screenshot
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_attachment :maps, :screenshot
|
||
|
end
|
||
|
end
|