Commit eb2e0bb2 authored by Michał Zając's avatar Michał Zając

Remove unnecessary foreign_key option

parent 938e0abc
......@@ -13,7 +13,7 @@ module Vulnerabilities
has_many :primary_findings, class_name: 'Vulnerabilities::Finding', inverse_of: :primary_identifier, foreign_key: 'primary_identifier_id'
belongs_to :project, foreign_key: 'project_id'
belongs_to :project
validates :project, presence: true
validates :external_type, presence: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment