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

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

class AddColumnInboundJobTokenScopeEnabledToCiCdSetting < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def up
    add_column :project_ci_cd_settings, :inbound_job_token_scope_enabled, :boolean, default: false, null: false
  end

  def down
    remove_column :project_ci_cd_settings, :inbound_job_token_scope_enabled
  end
end