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

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

class CleanupMlCandidatesIidRename < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    cleanup_concurrent_column_rename :ml_candidates, :iid, :eid
  end

  def down
    undo_cleanup_concurrent_column_rename :ml_candidates, :iid, :eid
  end
end