ManageIQ/manageiq

View on GitHub
app/models/scan_history.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ScanHistory < ApplicationRecord
  belongs_to :vm_or_template
  belongs_to :vm,           :foreign_key => :vm_or_template_id
  belongs_to :miq_template, :foreign_key => :vm_or_template_id

  include FilterableMixin
end