diff --git a/app/models/orchestration_template.rb b/app/models/orchestration_template.rb index 940cbcde7a1..35cd559288d 100644 --- a/app/models/orchestration_template.rb +++ b/app/models/orchestration_template.rb @@ -7,6 +7,7 @@ class OrchestrationTemplate < ApplicationRecord acts_as_miq_taggable has_many :stacks, :class_name => "OrchestrationStack" + has_one :picture, :dependent => :destroy, :as => :resource, :autosave => true default_value_for :draft, false default_value_for :orderable, true