Files
gitlink-forgeplus/app/models/project_trend.rb
2020-03-09 00:40:16 +08:00

6 lines
139 B
Ruby

class ProjectTrend < ApplicationRecord
belongs_to :project
belongs_to :trend, polymorphic: true, optional: true
belongs_to :user
end