Skip to content

Commit

Permalink
Merge pull request ManageIQ#17821 from agrare/add_datacenters_associa…
Browse files Browse the repository at this point in the history
…tion

Add an association for Datacenters
  • Loading branch information
kbrock authored Aug 8, 2018
2 parents 0a591a8 + 516ed3c commit 262bef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/ext_management_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def self.api_allowed_attributes
has_many :blacklisted_events, :foreign_key => "ems_id", :dependent => :destroy, :inverse_of => :ext_management_system
has_many :miq_alert_statuses, :foreign_key => "ems_id", :dependent => :destroy
has_many :ems_folders, :foreign_key => "ems_id", :dependent => :destroy, :inverse_of => :ext_management_system
has_many :datacenters, :foreign_key => "ems_id", :class_name => "Datacenter", :inverse_of => :ext_management_system
has_many :ems_clusters, :foreign_key => "ems_id", :dependent => :destroy, :inverse_of => :ext_management_system
has_many :resource_pools, :foreign_key => "ems_id", :dependent => :destroy, :inverse_of => :ext_management_system
has_many :customization_specs, :foreign_key => "ems_id", :dependent => :destroy, :inverse_of => :ext_management_system
Expand Down

0 comments on commit 262bef6

Please sign in to comment.