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
Update renaming of access_hash to token.
Matthew Kennedy2a86f56dc89a
diff --git a/core/db/migrate/20210902110754_rename_column_access_hash_to_token.rb b/core/db/migrate/20210902110754_rename_column_access_hash_to_token.rbindex 45a4fe532e..ab83e9732c 100644--- a/core/db/migrate/20210902110754_rename_column_access_hash_to_token.rb+++ b/core/db/migrate/20210902110754_rename_column_access_hash_to_token.rb@@ -1,7 +1,7 @@class RenameColumnAccessHashToToken < ActiveRecord::Migration[5.2]def changeif table_exists?(:spree_wishlists)- t.rename :access_hash, :token if column_exists?(:spree_wishlists, :access_hash)+ rename_column(:spree_wishlists, :access_hash, :token) if column_exists?(:spree_wishlists, :access_hash)endendend