Skip to content

Commit

Permalink
Projects have dependency activities
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jul 25, 2017
1 parent 7cccb7e commit ded8513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Project < ApplicationRecord
has_many :dependent_repositories, -> { group('repositories.id').order('repositories.rank DESC NULLS LAST, repositories.stargazers_count DESC') }, through: :dependent_manifests, source: :repository
has_many :subscriptions
has_many :project_suggestions, dependent: :delete_all
has_many :dependency_activities
belongs_to :repository
has_one :readme, through: :repository

Expand Down

0 comments on commit ded8513

Please sign in to comment.