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

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

class CleanUpRenameIterationsCadencesLastRunDateToNextRunDate < Gitlab::Database::Migration[2.0]
  disable_ddl_transaction!

  def up
    cleanup_concurrent_column_rename :iterations_cadences, :last_run_date, :next_run_date
  end

  def down
    undo_cleanup_concurrent_column_rename :iterations_cadences, :last_run_date, :next_run_date
  end
end