项目搜索添加logger

This commit is contained in:
sylor_huang@126.com
2020-04-22 09:51:11 +08:00
parent af73b11822
commit 69e3e372c5
3 changed files with 5 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class Project < ApplicationRecord
belongs_to :project_language, optional: true , :counter_cache => true
has_many :project_trends, dependent: :destroy
has_many :commits, dependent: :destroy
# has_many :commits, dependent: :destroy
has_one :project_score, dependent: :destroy
has_one :repository, dependent: :destroy