Skip to content

Commit

Permalink
Merge pull request #20038 from kbrock/storage_profile_ems
Browse files Browse the repository at this point in the history
fix storage profile ems foreign key
  • Loading branch information
agrare authored Apr 1, 2020
2 parents add190e + 4cdcf40 commit a0fe4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/storage_profile.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class StorageProfile < ApplicationRecord
belongs_to :ext_management_system
belongs_to :ext_management_system, :foreign_key => :ems_id
has_many :storage_profile_storages, :dependent => :destroy
has_many :storages, :through => :storage_profile_storages
has_many :vms_and_templates, :dependent => :nullify
Expand Down

0 comments on commit a0fe4ca

Please sign in to comment.