Sha256: 1ad2567ae4e368812676e4a45dd002fa1d252c17514034579d2e931de00c75a7
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
class UpdateBraintreePaymentMethodType < SolidusSupport::Migration[4.2] def up Spree::PaymentMethod.where(:type => "Spree::Gateway::Braintree").update_all(:type => "Spree::Gateway::BraintreeGateway") end def down Spree::PaymentMethod.where(:type => "Spree::Gateway::BraintreeGateway").update_all(:type => "Spree::Gateway::Braintree") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_gateway-1.3.0 | db/migrate/20121017004102_update_braintree_payment_method_type.rb |
solidus_gateway-1.2.0 | db/migrate/20121017004102_update_braintree_payment_method_type.rb |