diff --git a/db/migrate/20210817100257_rename_stripe_connect_payment_methods_to_stripe_sca.rb b/db/migrate/20210817100257_rename_stripe_connect_payment_methods_to_stripe_sca.rb new file mode 100644 index 0000000000..8c4447b6de --- /dev/null +++ b/db/migrate/20210817100257_rename_stripe_connect_payment_methods_to_stripe_sca.rb @@ -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 diff --git a/db/schema.rb b/db/schema.rb index dc58145fb3..3f4ac65e4a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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"