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

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

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

  def up
    add_column :ci_job_token_project_scope_links, :direction, :integer, limit: 2, default: 0, null: false
  end

  def down
    remove_column :ci_job_token_project_scope_links, :direction
  end
end