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

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

class AddRegistrationColumnsToCiRunners < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def change
    add_column :ci_runners, :registration_type, :integer, limit: 1, default: 0, null: false
    add_column :ci_runners, :creator_id, :bigint, null: true
  end
end