remove metacode asset path migration

This commit is contained in:
Connor Turland 2015-12-11 18:10:53 -05:00
parent 5f1ef5f5c8
commit 92ddbbaf4f

View file

@ -1,9 +0,0 @@
class MetacodeAssetPathUpdate < ActiveRecord::Migration
def change
Metacode.all.each do |metacode|
if metacode.icon.start_with?("/assets/icons/")
metacode.update(icon: metacode.icon.gsub(/^\/assets\/icons/, "https://s3.amazonaws.com/metamaps-assets/metacodes"))
end
end
end
end