Merge pull request #8245 from apricot12/Migrate-Migs-Payment-Method

This commit is contained in:
Nihal M. Kelanthodika
2021-10-05 18:07:46 +05:30
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -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

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_09_27_091723) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"