Welcome to mirror list, hosted at ThFree Co, Russian Federation.

commit_user_mention.rb « models « user_mentions « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f4cc96c8bc0fa546caf24c1ecc6e10126e8b290e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true
# rubocop:disable Style/Documentation

module Gitlab
  module BackgroundMigration
    module UserMentions
      module Models
        class CommitUserMention < ActiveRecord::Base
          self.table_name = 'commit_user_mentions'
          self.inheritance_column = :_type_disabled

          def self.resource_foreign_key
            :commit_id
          end
        end
      end
    end
  end
end