class PrefixVolumePricingTableNames < ActiveRecord::Migration
  def change
    rename_table :volume_prices, :spree_volume_prices
  end
end


class PrefixVolumePricingTableNames < ActiveRecord::Migration
  def change
    rename_table :volume_prices, :spree_volume_prices unless Spree::VolumePrice.table_exists?
  end
end


Fix for applications that have already run prefix migration that was renamed.
Fix for applications that have already run prefix migration that was renamed.
