mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Make spree_payment.cvv_response_message without size limit so that long stripe redirect URLs can be stored there
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class ChangeCvvResponseMessageToTextInSpreePayments < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :spree_payments, :cvv_response_message, :text
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :spree_payments, :cvv_response_message, :string
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20191202165700) do
|
||||
ActiveRecord::Schema.define(:version => 20200209163549) do
|
||||
|
||||
create_table "adjustment_metadata", :force => true do |t|
|
||||
t.integer "adjustment_id"
|
||||
@@ -601,7 +601,7 @@ ActiveRecord::Schema.define(:version => 20191202165700) do
|
||||
t.string "avs_response"
|
||||
t.string "identifier"
|
||||
t.string "cvv_response_code"
|
||||
t.string "cvv_response_message"
|
||||
t.text "cvv_response_message"
|
||||
end
|
||||
|
||||
add_index "spree_payments", ["order_id"], :name => "index_spree_payments_on_order_id"
|
||||
|
||||
Reference in New Issue
Block a user