mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Rename Pin payment methods to check
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class RenamePinPaymentMethodsToCheck < ActiveRecord::Migration
|
||||
def change
|
||||
Spree::PaymentMethod
|
||||
.where(type: "Spree::Gateway::Pin")
|
||||
.update_all(type: "Spree::PaymentMethod::Check")
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,6 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
|
||||
ActiveRecord::Schema.define(version: 20210203215049) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
|
||||
Reference in New Issue
Block a user