Sha256: c33cd9bc6855d26e4cd018cc428fcc258841999c6f1734b21d17d7ebdb02b0d8
Contents?: true
Size: 355 Bytes
Versions: 2
Compression:
Stored size: 355 Bytes
Contents
class UpdateBalancedPaymentMethodType < SolidusSupport::Migration[4.2] 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 |
---|---|
solidus_gateway-1.3.0 | db/migrate/20130415222802_update_balanced_payment_method_type.rb |
solidus_gateway-1.2.0 | db/migrate/20130415222802_update_balanced_payment_method_type.rb |