Class: Gitlab::BackgroundMigration::UserMentions::Models::DesignManagement::Design

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
EachBatch, Concerns::MentionableMigrationMethods
Defined in:
lib/gitlab/background_migration/user_mentions/models/design_management/design.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.user_mention_modelObject


13
14
15
# File 'lib/gitlab/background_migration/user_mentions/models/design_management/design.rb', line 13

def self.user_mention_model
  Gitlab::BackgroundMigration::UserMentions::Models::DesignUserMention
end

Instance Method Details

#user_mention_modelObject


17
18
19
# File 'lib/gitlab/background_migration/user_mentions/models/design_management/design.rb', line 17

def user_mention_model
  self.class.user_mention_model
end

#user_mention_note_idObject


25
26
27
# File 'lib/gitlab/background_migration/user_mentions/models/design_management/design.rb', line 25

def user_mention_note_id
  'NULL'
end

#user_mention_resource_idObject


21
22
23
# File 'lib/gitlab/background_migration/user_mentions/models/design_management/design.rb', line 21

def user_mention_resource_id
  id
end