Removing dependent destroy on order

This commit is contained in:
georgethoppil
2022-06-27 16:42:52 -04:00
committed by Jean-Baptiste Bellet
parent b202678a6b
commit 786fe55fc8

View File

@@ -5,7 +5,7 @@
# This reduces the need to keep Orders in sync with their parent Subscriptions
class ProxyOrder < ApplicationRecord
belongs_to :order, class_name: 'Spree::Order', dependent: :destroy
belongs_to :order, class_name: 'Spree::Order'
belongs_to :subscription
belongs_to :order_cycle