diff --git a/app/models/foreman_acd/app_definition.rb b/app/models/foreman_acd/app_definition.rb index 0c00e911..4acb784e 100644 --- a/app/models/foreman_acd/app_definition.rb +++ b/app/models/foreman_acd/app_definition.rb @@ -10,7 +10,7 @@ class AppDefinition < ApplicationRecord include Parameterizable::ByIdName self.table_name = 'acd_app_definitions' - validates :name, :presence => true, :uniqueness => true + validates :name, :presence => true, :uniqueness => false validates :ansible_playbook, :presence => true has_many :app_instances, :inverse_of => :app_definition, :dependent => :destroy belongs_to :ansible_playbook, :inverse_of => :app_definitions, :foreign_key => :acd_ansible_playbook_id