Files
gitlink-forgeplus/app/models/project_detail.rb
2020-10-04 17:32:37 +08:00

5 lines
143 B
Ruby

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