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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Use `add_reference` instead of bigint column so UUID primary keys wil… (#13119)
Damian Legawiec741fa5bd906e
diff --git a/core/db/migrate/20250304115943_add_performed_by_to_spree_reimbursements.rb b/core/db/migrate/20250304115943_add_performed_by_to_spree_reimbursements.rbindex 9d1dd50e28..80e9bde087 100644--- a/core/db/migrate/20250304115943_add_performed_by_to_spree_reimbursements.rb+++ b/core/db/migrate/20250304115943_add_performed_by_to_spree_reimbursements.rb@@ -1,5 +1,5 @@class AddPerformedByToSpreeReimbursements < ActiveRecord::Migration[6.1]def change- add_column :spree_reimbursements, :performed_by_id, :bigint, index: true, null: true, if_not_exists: true+ add_reference :spree_reimbursements, :performed_by, index: true, null: true unless column_exists?(:spree_reimbursements, :performed_by_id)endend