Make spree_payment.cvv_response_message without size limit so that long stripe redirect URLs can be stored there

This commit is contained in:
Luis Ramos
2020-02-09 16:44:03 +00:00
parent 65dd9f51cf
commit 02008769e9
2 changed files with 11 additions and 2 deletions

View File

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

View File

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