Remove Enterprise #inheritance_column

Apparently this was part of an old feature from 2014...
This commit is contained in:
Matt-Yorkley
2021-10-28 10:44:23 +01:00
parent 866c3d6276
commit 462ff15f76

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