Migrate Pin gateway peyments to check

This commit is contained in:
Nihal
2021-09-10 14:35:21 +05:30
parent 1ec9cce439
commit 757b7513ef

View 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