mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Remove Enterprise #inheritance_column
Apparently this was part of an old feature from 2014...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user