From ff81fe5bf7a1d07a1187b5a66a7c600d3db435bc Mon Sep 17 00:00:00 2001 From: Szymon Iwacz Date: Wed, 28 Jul 2021 12:30:17 +0200 Subject: [PATCH] Change payment_method_id and user_id into bigint --- ...e_of_payment_method_id_and_user_id_for_spree_checks.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20210728101948_change_type_of_payment_method_id_and_user_id_for_spree_checks.rb diff --git a/db/migrate/20210728101948_change_type_of_payment_method_id_and_user_id_for_spree_checks.rb b/db/migrate/20210728101948_change_type_of_payment_method_id_and_user_id_for_spree_checks.rb new file mode 100644 index 00000000..38827d14 --- /dev/null +++ b/db/migrate/20210728101948_change_type_of_payment_method_id_and_user_id_for_spree_checks.rb @@ -0,0 +1,8 @@ +class ChangeTypeOfPaymentMethodIdAndUserIdForSpreeChecks < ActiveRecord::Migration[4.2] + def change + change_table(:spree_checks) do |t| + t.change :payment_method_id, :bigint + t.change :user_id, :bigint + end + end +end