Class: Gitlab::BackgroundMigration::MigrateMergeRequestDiffCommitUsers::MergeRequestDiffCommitUser

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/gitlab/background_migration/migrate_merge_request_diff_commit_users.rb

Overview

rubocop: disable Style/Documentation

Class Method Summary collapse

Class Method Details

.union(queries) ⇒ Object


74
75
76
# File 'lib/gitlab/background_migration/migrate_merge_request_diff_commit_users.rb', line 74

def self.union(queries)
  from("(#{queries.join("\nUNION ALL\n")}) #{table_name}")
end