Migration of StripeConnect to StripeSCA

This commit is contained in:
Nihal Mohammed
2021-08-17 15:37:06 +05:30
committed by Nihal
parent eb17c208f9
commit 98ff3980f8
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class RenameStripeConnectPaymentMethodsToStripeSca < ActiveRecord::Migration[6.1]
def change
execute "UPDATE spree_payment_methods SET type = 'Spree::Gateway::StripeSCA' WHERE type = 'Spree::Gateway::StripeConnect'"
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_06_17_203927) do
ActiveRecord::Schema.define(version: 2021_08_17_100257) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"