summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/user_mentions/models/commit_user_mention.rb
blob: bdb4d6c7d48e2739b3b13c3504df8340d001a3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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'

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