debian-mirror-gitlab/app/models/projects/project_topic.rb

9 lines
182 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
module Projects
class ProjectTopic < ApplicationRecord
belongs_to :project
2021-11-18 22:05:49 +05:30
belongs_to :topic, counter_cache: :total_projects_count
2021-11-11 11:23:49 +05:30
end
end