metamaps--metamaps/db/migrate/20140815162253_add_screenshot_to_maps.rb

10 lines
178 B
Ruby
Raw Permalink Normal View History

class AddScreenshotToMaps < ActiveRecord::Migration
def self.up
add_attachment :maps, :screenshot
end
def self.down
remove_attachment :maps, :screenshot
end
end