Sha256: 30f0175583fb75559aa7f1465f4371576f36dc36337c2ccf0a68ca99eb6162bf

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

# This migration comes from spree_gateway (originally 20130415222802)
class UpdateBalancedPaymentMethodType < ActiveRecord::Migration
  def up
    Spree::PaymentMethod.where(:type => "Spree::Gateway::Balanced").update_all(:type => "Spree::Gateway::BalancedGateway")
  end
  
  def down
    Spree::PaymentMethod.where(:type => "Spree::Gateway::BalancedGateway").update_all(:type => "Spree::Gateway::Balanced")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprangular-0.1.0 spec/dummy/db/migrate/20141203183815_update_balanced_payment_method_type.spree_gateway.rb
sprangular-0.0.1 spec/dummy/db/migrate/20141203183815_update_balanced_payment_method_type.spree_gateway.rb