summaryrefslogtreecommitdiff
path: root/db/migrate/20220913082930_rename_iterations_cadences_last_run_date_to_next_run_date.rb
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