Migrate Migs to Check

This commit is contained in:
Nihal
2021-09-27 14:50:23 +05:30
committed by Nihal M. Kelanthodika
parent 6a50f68b52
commit 2ad234d5aa
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"