summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb')
-rw-r--r--lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb b/lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb
new file mode 100644
index 00000000000..4e3ce9bf3a7
--- /dev/null
+++ b/lib/gitlab/background_migration/user_mentions/models/epic_user_mention.rb
@@ -0,0 +1,18 @@
+# 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'
+
+ def self.resource_foreign_key
+ :epic_id
+ end
+ end
+ end
+ end
+ end
+end