Files
gitlink-forgeplus/app/models/commit_log.rb
2023-04-17 10:15:57 +08:00

13 lines
204 B
Ruby

class CommitLog < ApplicationRecord
belongs_to :user
belongs_to :project
belongs_to :repository
has_many :project_trends, as: :trend, dependent: :destroy
def title
self.message
end
end