mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
Merge pull request #8428 from Matt-Yorkley/enterprise-dead-code
Remove Enterprise #inheritance_column
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