mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Migrate Pin gateway peyments to check
This commit is contained in:
5
db/migrate/20210910085912_migrate_pin_payment_to_cash.rb
Normal file
5
db/migrate/20210910085912_migrate_pin_payment_to_cash.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class MigratePinPaymentToCash < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
execute "UPDATE spree_payment_methods SET type = 'Spree::PaymentMethod::Check' WHERE type = 'Spree::Gateway::Pin'"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user