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

cleanup_concurrent_rename.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d3f366f3480667e2c55ed2e96b895b0e8e19c08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    # Background migration for cleaning up a concurrent column rename.
    class CleanupConcurrentRename < CleanupConcurrentSchemaChange
      RESCHEDULE_DELAY = 10.minutes

      def cleanup_concurrent_schema_change(table, old_column, new_column)
        cleanup_concurrent_column_rename(table, old_column, new_column)
      end
    end
  end
end