diff --git a/app/models/ext_management_system.rb b/app/models/ext_management_system.rb index 1e9d7c9a51f..228a07dedc1 100644 --- a/app/models/ext_management_system.rb +++ b/app/models/ext_management_system.rb @@ -26,6 +26,8 @@ def self.supported_types_and_descriptions_hash end belongs_to :provider + has_many :child_managers, :class_name => 'ExtManagementSystem', :foreign_key => 'parent_ems_id' + include CustomAttributeMixin belongs_to :tenant has_many :container_deployments, :foreign_key => :deployed_on_ems_id, :inverse_of => :deployed_on_ems