Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fix `20250311105934_create_spree_gateway_customers` migration (#12505)

Łukasz Adamczyka9dca03a8c82
diff --git a/core/db/migrate/20250311105934_create_spree_gateway_customers.rb b/core/db/migrate/20250311105934_create_spree_gateway_customers.rb
index 6ee5b23cdf..d0768a004e 100644
--- a/core/db/migrate/20250311105934_create_spree_gateway_customers.rb
+++ b/core/db/migrate/20250311105934_create_spree_gateway_customers.rb
@@ -12,7 +12,7 @@ class CreateSpreeGatewayCustomers < ActiveRecord::Migration[7.2]
t.index ['user_id'], name: 'index_spree_gateway_customers_on_user_id'
end
- add_column :spree_credit_cards, :gateway_customer_id, if_not_exists: true
+ add_column :spree_credit_cards, :gateway_customer_id, :bigint, if_not_exists: true
add_index :spree_credit_cards, :gateway_customer_id, if_not_exists: true
end
end