summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb
blob: 579e4d99612ffeccff3e656225f38546c4068a63 (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 EpicUserMention < ActiveRecord::Base
          self.table_name = 'epic_user_mentions'
          self.inheritance_column = :_type_disabled

          def self.resource_foreign_key
            :epic_id
          end
        end
      end
    end
  end
end