Skip to content

Commit

Permalink
Destroys Change Management Record when destroying Software Record.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz committed Jul 12, 2024
1 parent 51f7fef commit 067ee7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/software_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class SoftwareRecord < ApplicationRecord
belongs_to :vendor_record
belongs_to :status
belongs_to :hosting_environment
has_many :change_request
has_many :change_request, dependent: :destroy
validates :title, :description, :status, :created_by, presence: true
serialize :tech_leads, Array
serialize :developers, Array
Expand Down

0 comments on commit 067ee7d

Please sign in to comment.