diff --git a/db/migrate/20210927091723_update_migs_gateway_to_check.rb b/db/migrate/20210927091723_update_migs_gateway_to_check.rb new file mode 100644 index 0000000000..bf5c4dcd52 --- /dev/null +++ b/db/migrate/20210927091723_update_migs_gateway_to_check.rb @@ -0,0 +1,5 @@ +class UpdateMigsGatewayToCheck < ActiveRecord::Migration[6.1] + def change + execute "UPDATE spree_payment_methods SET type = 'Spree::PaymentMethod::Check' WHERE type = 'Spree::Gateway::Migs'" + end +end diff --git a/db/schema.rb b/db/schema.rb index dc58145fb3..97dd60cf72 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_09_27_091723) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql"