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

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

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

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

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