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

design_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: eb00f6cfa3f8253c179e35c37a89c641d9cbd458 (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 DesignUserMention < ActiveRecord::Base
          self.table_name = 'design_user_mentions'
          self.inheritance_column = :_type_disabled

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