summaryrefslogtreecommitdiff
path: root/db/migrate/20221227100908_add_allow_registration_token_to_namespace_settings.rb
blob: 46456fcfbdf909d9bd03e550d1bb53b5442ba1e3 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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

  def change
    add_column :namespace_settings, :allow_runner_registration_token, :boolean, default: true, null: false
  end
end