Class: Gitlab::BackgroundMigration::UserMentions::Models::Commit
Class Method Summary
collapse
Instance Method Summary
collapse
#all_references, #array_to_sql, #build_mention_values, #extractors, #skip_project_check?
Class Method Details
.no_quote_columns ⇒ Object
29
30
31
|
# File 'lib/gitlab/background_migration/user_mentions/models/commit.rb', line 29
def self.no_quote_columns
[:note_id]
end
|
.user_mention_model ⇒ Object
Instance Method Details
#user_mention_model ⇒ Object
17
18
19
|
# File 'lib/gitlab/background_migration/user_mentions/models/commit.rb', line 17
def user_mention_model
self.class.user_mention_model
end
|
#user_mention_note_id ⇒ Object
25
26
27
|
# File 'lib/gitlab/background_migration/user_mentions/models/commit.rb', line 25
def user_mention_note_id
'NULL'
end
|
#user_mention_resource_id ⇒ Object
21
22
23
|
# File 'lib/gitlab/background_migration/user_mentions/models/commit.rb', line 21
def user_mention_resource_id
id
end
|