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

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

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

  def up
    rename_column_concurrently :plan_limits, :web_hook_calls, :web_hook_calls_high
  end

  def down
    undo_rename_column_concurrently :plan_limits, :web_hook_calls, :web_hook_calls_high
  end
end