commit加入到项目动态

This commit is contained in:
2023-04-17 10:13:23 +08:00
parent d2b4b500b6
commit 5c563db6e4
2 changed files with 13 additions and 1 deletions

View File

@@ -3,4 +3,6 @@ class CommitLog < ApplicationRecord
belongs_to :project
belongs_to :repository
has_many :project_trends, as: :trend, dependent: :destroy
end