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

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

class ChangeDefaultValueForInboundJobTokenScopeEnabled < Gitlab::Database::Migration[2.1]
  def up
    change_column_default :project_ci_cd_settings, :inbound_job_token_scope_enabled, from: false, to: true
  end

  def down
    change_column_default :project_ci_cd_settings, :inbound_job_token_scope_enabled, from: true, to: false
  end
end