summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/user_mentions/models/design_user_mention.rb
blob: 68205ecd3c299b06020b6c5637d69e90415d06dd (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 DesignUserMention < ActiveRecord::Base
          self.table_name = 'design_user_mentions'

          def self.resource_foreign_key
            :design_id
          end
        end
      end
    end
  end
end