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

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

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

  restrict_gitlab_migration gitlab_schema: :gitlab_main

  def up
    execute('UPDATE plan_limits SET web_hook_calls=web_hook_calls_high')
  end

  def down
    # noop
  end
end