From 92ddbbaf4fc4e49b5768effca214ee276e285682 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Fri, 11 Dec 2015 18:10:53 -0500 Subject: [PATCH] remove metacode asset path migration --- db/migrate/20151028061513_metacode_asset_path_update.rb | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 db/migrate/20151028061513_metacode_asset_path_update.rb diff --git a/db/migrate/20151028061513_metacode_asset_path_update.rb b/db/migrate/20151028061513_metacode_asset_path_update.rb deleted file mode 100644 index be3607d1..00000000 --- a/db/migrate/20151028061513_metacode_asset_path_update.rb +++ /dev/null @@ -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