gitlink-forgeplus/app/models/project_detail.rb

5 lines
143 B
Ruby

class ProjectDetail < ApplicationRecord
belongs_to :project, optional: true
has_many :attachments, as: :container, dependent: :destroy
end