Merge pull request #8428 from Matt-Yorkley/enterprise-dead-code

Remove Enterprise #inheritance_column
This commit is contained in:
Maikel
2021-11-03 17:29:42 +11:00
committed by GitHub

View File

@@ -23,8 +23,6 @@ class Enterprise < ApplicationRecord
has_paper_trail only: [:owner_id, :sells], on: [:update]
self.inheritance_column = nil
has_many :relationships_as_parent, class_name: 'EnterpriseRelationship',
foreign_key: 'parent_id',
dependent: :destroy